摘要:
T1 考虑固定全选三线射手,二分最小火力。 发现可以check。 点击查看代码 #include <iostream> using std::cin; using std::cout; const int N = 1e6 + 10; typedef long long ll; int n; ll a 阅读全文
摘要:
T1 暴力。 点击查看代码 #include <iostream> #include <string> #include <cstring> using std::cin; using std::cout; const int N = 13; int n; int cnt; int r[N]; in 阅读全文
摘要:
T1 直接数位dp。 点击查看代码 #include <iostream> #include <algorithm> using std::cin; using std::cout; const int N = 60; typedef long long ll; int a[50]; ll f[N] 阅读全文