摘要:
https://www.luogu.com.cn/problem/P2118 分析 枚举即可,因为$L<=100$。 #include <bits/stdc++.h> using namespace std; #define LL long long #define INF 0x3fffffff i 阅读全文
摘要:
https://www.luogu.com.cn/problem/P2239 分析 先剥掉$x$层再做。特判$n=1,2$时。 #include <bits/stdc++.h> using namespace std; #define LL long long int main() { int n, 阅读全文
摘要:
https://www.luogu.com.cn/problem/P2141 #include <bits/stdc++.h> using namespace std; #define LL long long int a[110]; int main() { int n,cnt=0; cin>>n 阅读全文
摘要:
https://www.luogu.com.cn/problem/P7911?contestId=54994 #include <bits/stdc++.h> using namespace std; #define LL long long #define P pair<string,int> s 阅读全文
摘要:
https://www.luogu.com.cn/problem/P7910?contestId=54994 分析 排序做成$O(n)$复杂度即可。 #include <bits/stdc++.h> using namespace std; #define LL long long struct s 阅读全文
摘要:
https://www.luogu.com.cn/problem/P7909?contestId=54994 分析 无。 #include <bits/stdc++.h> using namespace std; #define LL long long LL n,l,r; int main() { 阅读全文
摘要:
https://codeforces.com/contest/1593/problem/D1 分析 求最大公因子。 #include <bits/stdc++.h> using namespace std; #define LL long long int t,n,a[45],d[45]; int 阅读全文