摘要: vector去重 unique(a.begin(),a.end()); 返回一段没有重复的数组的末尾 得到去重后的数组: a.erase(unique(a.begin(),a.end()),a.end()); 二分推荐写法 int l = 1,r = 1e9,ans; while(l <= r) { 阅读全文
posted @ 2024-01-20 15:34 24Kmagic 阅读(10) 评论(0) 推荐(0)