随笔分类 -  思维与代码

对数使用细节
摘要:https://codeforces.com/contest/2043/problem/A #include<bits/stdc++.h> #define lc p<<1 #define rc p<<1|1 #define INF 2e9 using namespace std; #define e 阅读全文
posted @ 2025-01-11 14:12 laileou 阅读(7) 评论(0) 推荐(0) 编辑
二分+排序
摘要:https://codeforces.com/contest/2053/problem/D https://blog.csdn.net/weixin_61825750/article/details/144799098 #include<bits/stdc++.h> #define lc p<<1 阅读全文
posted @ 2025-01-11 08:54 laileou 阅读(3) 评论(0) 推荐(0) 编辑
前缀和优化
摘要:https://codeforces.com/contest/2053/problem/B #include<bits/stdc++.h> #define INF 2e9 using namespace std; #define endl '\n' using ll = long long; usi 阅读全文
posted @ 2025-01-10 15:54 laileou 阅读(5) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示