摘要: A. Subset Mex 大意:把原数组分成俩数组A,B,求(最小的A里没出现的自然数+最小的B里没出现的自然数)的最大值 答案是最小的出现次数<2的自然数,加上最小的没出现的自然数 #include <bits/stdc++.h> using namespace std; #define rep 阅读全文
posted @ 2020-09-13 01:35 axiomofchoice 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 本文所有内容均在 GNU C++ (64位) 里瞎搞出来,有很多猜测,仅供参考 如何定义 vector/deque/list/forward_list <T, allocator<T> > set <T, less<T>, allocator<T> > map <T, U, less<T>, all 阅读全文
posted @ 2020-09-13 00:01 axiomofchoice 阅读(133) 评论(0) 推荐(1) 编辑