Guest
Login
跳过导航链接

数字问题
Time Limit:1000MS  Memory Limit:32768K

Description:

给你N个数,其中有几个不同出现了呢?

Input:

每组第一行一个N(1<=N<=10000),第二行N个整数

Output:

出现过的数字数目

Sample Input:

3
2 2 3
4
2 2 3 4

Sample Output:

2
3

Source:

zjut_DD
Submit Your Solution


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
352