#P40032. 2017 ICPC Asia Daejeon Regional Contest I - Slot Machines
2017 ICPC Asia Daejeon Regional Contest I - Slot Machines
题目描述
输入格式
输出格式
Your program is to write to standard output. Print two integers k and p in one line.
The following shows sample input and output for two test cases.
样例
样例输入 1
6
612534 3157 423 3157 423 3157
样例输出 1
1 2
样例输入 2
9
1 2 1 3 1 2 1 3 1
样例输出 2
0 4