随笔分类 - 比赛--CodeChef
摘要:Little Chef and Sums 分析:水题,去维护一下前缀和以及后缀和就好,注意long long 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "string" 5 using name
阅读全文
摘要:Chang and Bitwise OR 分析:因为按位或最后肯定小于等于加,所以把所有数按位或即可 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 using namespace std; 5 const int m
阅读全文
摘要:A Good Set 分析:水题,选奇数即可 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "cmath" 5 using namespace std; 6 //const int maxn=110
阅读全文
摘要:Chef and his daily routine 分析:水题,设置优先级,判断如果后面小于前面就输出no 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "string" 5 using name
阅读全文

浙公网安备 33010602011771号