jake0713   1년 전

영어 문제 입력 설명에

The input will consist of several test cases, each consisting of two parts.
(중략)
There is a blank line between test cases. The input is terminated by a case where n = 0 and m = 0. This case should not be processed.

로 되어 있고, 출력 설명에

There should be m lines of output for each test case, corresponding to the m queries.
(중략)
Separate the output of two different test cases by a blank line.

으로 되어 있는데, 이후의 입출력 예시에서는 각 입출력은 하나의 테스트케이스로만 이루어져 있고, 마지막에 빈 줄과 0\n0 이 입력으로 주어지지 않는 형식으로 되어 있습니다. 설명에서 하나의 입력은 여러 개의 테스트케이스로 이루어져 있다는 내용과 관련된 설명을 삭제하면 좋을 것 같습니다.

댓글을 작성하려면 로그인해야 합니다.