摘要: 暴力: 二进制枚举子集 复杂度 $ n*2^n$ n==20时, \(20* 2^{20}=2*10^7\) 可以得40分啊 #include <bits/stdc++.h> using namespace std; const int N = 5e3 + 10; int n, a[N], ans; 阅读全文
posted @ 2025-11-10 10:46 katago 阅读(11) 评论(0) 推荐(0)