1030 : Count Different Numbers O
时间限制Time Limit
1
秒Sec
内存限制Memory Limit
128
兆MB
提交次数Submitted
243
次Times
通过次数Solved
90
次Times
标准评测Standard Judge
题目描述Description
Given a series of n numbers, find the total number of different numbers.
For example: the numbers are {2, 2, 1, 3, 4, 4, 5}, and different numbers are {2, 1, 3, 4, 5}. The answer is 5.
输入格式Input
There are no more than 100 test cases. Each case contains two lines.
The first line is integer number 1 <= n <= 100.
The second line are the n integer numbers which are in range [1, 10^4].
输出格式Output
The total number of different numbers.
样例Sample
出题Author
CSGrandeur