摘要: 2025“钉耙编程”中国大学生算法设计春季联赛(2)(2 4 5,补3 6 8) 1002:烂人方法 #include<bits/stdc++.h> #define N 1005 #define mod 998244353 using namespace std; typedef long long 阅读全文
posted @ 2025-03-18 20:59 graspppp 阅读(74) 评论(0) 推荐(0)
摘要: Educational Codeforces Round 176 (Rated for Div. 2) (AB,补C) A idea:(因为没注意到k只能为奇数的惨案qaq) 因为奇-奇=偶,偶-偶=偶 所以只需要判断n的奇偶然后先进行一次操作即可 #include<bits/stdc++.h> # 阅读全文
posted @ 2025-03-18 20:31 graspppp 阅读(65) 评论(0) 推荐(0)