Problem1163--A

1163: A

[Creator : ]
Time Limit : 1 sec  Memory Limit : 128 MB

Description

LCL love ACM, So he likes balloons. Today he sees many balloons in the shop. And he wants to know how many different color of Balloons in the shop, because he wants to buy them to his girlfriend.

Input

T —— the number of test cases T<=100.

For every test case, contain a integer n, the number of Balloon, next line contain n integers a1.a2....an ,the color of Balloon. 1<=n<=1000000, 1<=ai<=100000.

Output

T lines,each line contain a integer ,the number of different color for each test.

Sample Input Copy

2
10
1 3 1 4 5 6 2 4 1 5
11
1 4 52 512 12 54 11 2 1 5 65

Sample Output Copy

6
10

Source/Category