摘要:
1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 #include <map> 5 6 using namespace std; 7 8 int main(){ 9 int n;10 cin >> n;11 map<int,int> id;12 for(int i = 0; i <n; i ++ ){13 int a;14 cin >>a;15 if(id.find(a) == id.end()) id[a] = 1;16 阅读全文