02 2019 档案

Take it easy
摘要:Learn to say "Fuck You" to the world every once in a while 学会偶尔对这个世界说“去你的” Just stop thinking, worrying, looking over your shoulder, 不要再去思索,担忧,瞻前顾后 wa
258
0
0
CF-1114 (2019/02/11)
摘要:CF 1114 A. Got Any Grapes? skip B. Yet Another Array Partitioning Task 将n个数分成连续的k组,使得每组的前m大的数字的总和最大。 首先可以想到肯定可以包含n个数中前 m k 大的数。所以可以先将他们标记,然后扫一遍确定每组的端点
175
0
0
CF-1093 (2019/02/10)
摘要:CF 1093 "1093A Dice Rolling" 输出x/2即可 c++ include using namespace std; int main() { int t; cin t; while (t ) { int x; cin x; cout using namespace std;
198
0
0
CF-1013 (2019/02/09 补)
摘要:CF 1013 A. Piles With Stones 比较两个序列的和,因为只能拿走或者不拿,所以总数不能变大。 B. And 答案只有 1,0,1,2几种可能,所以对于每一种答案都暴力扫一次是可以的 或者对于每个 ai ,将ai 标记加一,如果aiai&x
183
0
0
CF-1110 (2019/02/08)
摘要:CF 1110 A. Parity 快速幂的思想,考虑最后一位即可 c++ include using namespace std; int n; int c[100010],d[100010]; multiset s1,s2; int main(){ scanf("%d",&n); for(int
245
0
0
CF-1111 (2019/2/7 补)
摘要:CF 1111 "题目链接" A. Superhero Transformation tags : strings c++ include using namespace std; char s[5] = {'a','e','i','o','u'}; bool check(char t){ for(
225
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起