摘要: 介绍数组离散化 vector<int>alls; //存储所有值sort(alls.begin(),alls.end()); //将所有值排序alls.erase(unique(alls.begin(),alls.end()),alls,end()); //去掉重复元素 inline int que 阅读全文
posted @ 2021-11-21 10:39 兮何其 阅读(25) 评论(0) 推荐(0)