摘要: //凑面值问题 #include<bits/stdc++.h> #define int long long using namespace std; int n,res; int a[20]; bool f[100000010]; int gcd(int a,int b) { if(b==0) re 阅读全文
posted @ 2022-11-20 22:22 Herkaii 阅读(30) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_41033366/article/details/94491906 阅读全文
posted @ 2022-11-20 21:16 Herkaii 阅读(29) 评论(0) 推荐(0)
摘要: 无数次血的教训,一用map就超时,一用set就超时,用数组就过,宁可牺牲点空间也要用数组! 阅读全文
posted @ 2022-11-20 11:56 Herkaii 阅读(15) 评论(0) 推荐(0)
摘要: https://www.luogu.com.cn/problem/P1842 阅读全文
posted @ 2022-11-20 10:38 Herkaii 阅读(14) 评论(0) 推荐(0)
摘要: https://www.luogu.com.cn/problem/P2340 阅读全文
posted @ 2022-11-20 10:37 Herkaii 阅读(15) 评论(0) 推荐(0)