摘要: A[CF1497A(800)] 可以发现从小到大排序后$mex$最大,于是排序后统计即可。 #include <bits/stdc++.h> using namespace std; int main() { int T; cin >> T; while (T --) { int N; cin >> 阅读全文
posted @ 2021-08-12 07:28 19992147 阅读(38) 评论(0) 推荐(0) 编辑