摘要:
A. 最长反链 我居然以为它不连续的也不行,我怀疑这个20分的东西把题面改成“x不是y的子序列”大概是对的。 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1337; int 阅读全文
摘要:
洛谷p3806 code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e5 + 7; const int inf = 1e7; int n, m, mx[maxn], si 阅读全文
摘要:
-A.板子 从“课本”上贺的。 code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e3 + 2; const int maxm = 1e5 + 3; const int 阅读全文
摘要:
A. 最大匹配 这都可以排序……关于我把它画到了平面直角坐标系上怎么都想不出来这件事…… code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 2e5 + 3; const 阅读全文