Problem3678--【语言基础】CF2266A - Good Contest

3678: 【语言基础】CF2266A - Good Contest

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

Description

Sample Input Copy

6
3
3 3 3
4
4 4 3
1
1 1 1
9
9 8 9
5
0 5 5
6
4 3 2

Sample Output Copy

0
1
0
1
5
4

Source/Category