• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

wvellichor

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2021年5月6日

五一训练礼包d-4

摘要: 价格和改变价格加买另一种字符价格作比较取min求和 #include<stdio.h> #include<string.h> int main() { int t,n,c0,c1,h,a0,a1,i,k; char s1[1005]; scanf("%d",&t); while(t--){ a0=0 阅读全文

posted @ 2021-05-06 00:34 wvellichor 阅读(36) 评论(0) 推荐(0)

五一训练礼包c-3

摘要: 判断那些是最小值的倍数,然后对数组排序,和原数组对比 #include<stdio.h> #include<algorithm> using namespace std; int NN=100000 int main(){ int t,n,a[NN],b[NN],c[NN],min,j=0,but= 阅读全文

posted @ 2021-05-06 00:31 wvellichor 阅读(25) 评论(0) 推荐(0)

五一训练礼包f-6

摘要: 数组元素总和要最大,一列只能有一个零 #include <iostream> using namespace std; int mod = 1e9+2; int main() { int T; cin >> T; while(T--){ int n, k; cin >> n >> k; long l 阅读全文

posted @ 2021-05-06 00:28 wvellichor 阅读(19) 评论(0) 推荐(0)

2021年5月5日

五一训练礼包B-2

摘要: You are given two sequences a1,a2,…,ana1,a2,…,an and b1,b2,…,bnb1,b2,…,bn. Each element of both sequences is either 00, 11 or 22. The number of elemen 阅读全文

posted @ 2021-05-05 21:03 wvellichor 阅读(25) 评论(0) 推荐(0)

五一训练礼包A-1

摘要: We have a point AA with coordinate x=nx=n on OXOX-axis. We'd like to find an integer point BB (also on OXOX-axis), such that the absolute difference b 阅读全文

posted @ 2021-05-05 19:30 wvellichor 阅读(75) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3