摘要: 当n∈【30,40】可以考虑下 复杂度大概是O(2^(n/2)) 算半个模板题吧 某位机房大佬(折半+STL) #include<bits/stdc++.h> using namespace std; long long n,m,w[101],mid,a[1<<20],b[1<<20],sum1,s 阅读全文
posted @ 2021-08-13 21:26 latent_Lin 阅读(44) 评论(0) 推荐(0)
摘要: https://oi-wiki.org/ 阅读全文
posted @ 2021-08-13 16:24 latent_Lin 阅读(18) 评论(0) 推荐(0)