1227: 去重
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:14
Solved:9
Description
将n个无序的数中重复出现的数去掉,仅保留第1次出现的数,输出删除后的数列
Input
第一行一个数 n (n<=1000)
接下来n行,每行1个整数(integer)
Output
输出去重后的数列,每个数一行
Sample Input Copy
10
1
2
3
3
2
1
0
5
6
7
Sample Output Copy
1
2
3
0
5
6
7