上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页
摘要: https://bbs.pinggu.org/thread-6841033-1-1.html 阅读全文
posted @ 2020-10-25 22:48 墨鳌 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1 #include <cmath> 2 #include <queue> 3 #include <cstdio> 4 #include <cstdlib> 5 #include <cstring> 6 #include <iostream> 7 #include <algorithm> 8 usi 阅读全文
posted @ 2020-10-16 23:15 墨鳌 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/58316557 阅读全文
posted @ 2020-10-09 15:30 墨鳌 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 翻日历即可,不需要想太复杂,第一次提交未考虑20世纪的答案了,87分,我服了 以下是100分代码 1 #include <set> 2 #include <cstdio> 3 #include <iostream> 4 using namespace std; 5 bool check(int ye 阅读全文
posted @ 2020-09-28 19:27 墨鳌 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 有一说一,check不好想 思路解析,from 这里 1 #include <set> 2 #include <cstdio> 3 #include <iostream> 4 using namespace std; 5 multiset<pair<int,int> >A; 6 const int 阅读全文
posted @ 2020-09-28 09:01 墨鳌 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 不知道区间更改怎么搞... 1 #include <cstdio> 2 #include <iostream> 3 using namespace std; 4 typedef long long ll; 5 const int MAXN=1e5+10; 6 struct node{ll sum,a 阅读全文
posted @ 2020-09-27 17:45 墨鳌 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 1 #include <cstdio> 2 #include <iostream> 3 using namespace std; 4 typedef long long ll; 5 const int MAXN=1e5+10; 6 struct node{ll sum,add;}t[MAXN<<2] 阅读全文
posted @ 2020-09-27 17:12 墨鳌 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 别想什么循环节优化了,模拟不香吗? 1 #include <iostream> 2 using namespace std; 3 int a,b,n; 4 int main() { 5 cin>>a>>b>>n,a=a%b; 6 for(int i=0;i<n+2;i++,a=a*10%b) 7 i 阅读全文
posted @ 2020-09-26 17:40 墨鳌 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 注意别把数组开小了! 1 #include <cstdio> 2 #include <iostream> 3 using namespace std; 4 const int maxn=1000000+10; 5 int fa[maxn],t[maxn],m,n,k,ans; 6 int find( 阅读全文
posted @ 2020-09-26 16:58 墨鳌 阅读(177) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Gentleman_Qin/article/details/79963396 阅读全文
posted @ 2020-03-18 18:04 墨鳌 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页