摘要: A. Make it White #include<bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using i128 = __int128; using ldb = long doub 阅读全文
posted @ 2024-02-18 23:04 PHarr 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 小苯的石子游戏 贪心 #include<bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; using pii = pair<int, int>; 阅读全文
posted @ 2024-02-18 17:57 PHarr 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 我有一款游戏 print("原神启动") 除夜 print("除夕快乐万事如意") 咏兰 print("神崎兰子") Kevin的新春礼物 能做这个题还是挺幸运的。 首先定理\(lcm(x,y)\ge \max(x,y)\)。令\(x\ge y\),则\(x\oplus y=lcm(x,y)\ge 阅读全文
posted @ 2024-02-18 17:49 PHarr 阅读(2) 评论(0) 推荐(0) 编辑
摘要: A - Arithmetic Progression #include<bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using i128 = __int128; using ldb = 阅读全文
posted @ 2024-02-18 17:26 PHarr 阅读(9) 评论(0) 推荐(0) 编辑