1041 Be Unique
摘要:
题目意思就是找到第一个没有重复的数,数据只有10^5,所以用数组水了一下。如果比较大的话应该要用map和vector。 #include <iostream> #include <string.h> #define maxn 100005 int a[maxn],b[maxn]; int main( 阅读全文
posted @ 2019-02-06 11:43 FTA_Macro 阅读(235) 评论(0) 推荐(0) 编辑