摘要: P1955 [NOI2015] 程序自动分析 很容易看出是并查集 因为数据太大必须离散化 偷懒用了一下unordered_map(C++11) dev c++需要在编译选项中加入 -std=c++11 理论上unordered_map的复杂度为O(1),但实际肯定慢一些 #include<iostr 阅读全文
posted @ 2021-07-07 20:42 kafuuchino 阅读(63) 评论(0) 推荐(0) 编辑