|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초||128 MB||4||3||3||75.000%|
Colonel Quaritch is playing checkers one day, and decides it would be interesting to write a program to calculate the maximum number of pieces on a single row.
Checkerboards are 8x8 boards with positions between (1,1) and (8,8). The input begins with the number of boards. Each board is on a separate line and begins with the number of pieces, followed by the column and row positions of each piece.
For each checkerboard, your program should output the maximum number pieces on any one row.
2 3 1 1 2 6 8 8 4 2 3 1 3 1 4 5 3