Description
Input
Output
输入文件名为 snakes.out。
输出 𝑇 行,每行一个整数表示最终存活的蛇的条数。
Sample Input
Sample Input1
2
3
11 14 14
3
1 5 2 6 3 25
Sample Input2
2
5
13 31 33 39 42
5
1 7 2 10 3 24 4 48 5 50
Sample Output
Sample Output1
3
1
Sample Output2
5
3