上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 39 下一页
摘要: 我有一款游戏 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 阅读(20) 评论(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 阅读(24) 评论(0) 推荐(0)
摘要: A. Magic Computer 看题目猜规律 #include <bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; const int mo 阅读全文
posted @ 2024-02-10 18:27 PHarr 阅读(340) 评论(0) 推荐(0)
摘要: A-玉米大炮 二分一个时间,然后计算每门大炮可以射击的次数 #include<bits/stdc++.h> using namespace std; #define int long long //#define int __int128 #define double long double typ 阅读全文
posted @ 2024-02-04 19:15 PHarr 阅读(31) 评论(0) 推荐(0)
摘要: A - Counting Passes #include <bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; using pii = pair< 阅读全文
posted @ 2024-02-04 18:45 PHarr 阅读(20) 评论(0) 推荐(0)
摘要: A-DFS搜索 暴力判就行 #include<bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using i128 = __int128; #define int long long us 阅读全文
posted @ 2024-02-04 18:36 PHarr 阅读(69) 评论(0) 推荐(0)
摘要: 赛时我们通过了7题,排名25。 A 摩斯电码 队友代码 #include<bits/stdc++.h> using namespace std; #define int long long typedef pair<int, int> P; map<string, string> mp; void 阅读全文
posted @ 2024-02-03 01:04 PHarr 阅读(834) 评论(0) 推荐(2)
摘要: P8840 [传智杯 #4 初赛] 报告赋分 #include<bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; using pii = pai 阅读全文
posted @ 2024-01-29 19:17 PHarr 阅读(147) 评论(0) 推荐(2)
摘要: A - Capitalized? #include<bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; using pii = pair<int, 阅读全文
posted @ 2024-01-28 22:33 PHarr 阅读(64) 评论(0) 推荐(0)
摘要: P8761 [蓝桥杯 2021 国 BC] 大写 #include<bits/stdc++.h> using namespace std; #define int long long using vi = vector<int>; using i32 = int32_t; using pii = p 阅读全文
posted @ 2024-01-26 19:15 PHarr 阅读(56) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 39 下一页