简介
简单
code
#include <iostream>
#include <algorithm>
#include <set>
using namespace std;
int main() {
int n;
int t;
while(cin >> n){
set<int> s;
while(n--){
cin >> t;
s.insert(t);
}
for(auto it : s){
cout << it << endl;
}
}
return 0;
}