<입력> The input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. This line is followed by a blank line, and there is also a blank line between two consecutive inputs
<출력> For each test case, your program has to write the minimal number of bins required to pack all items. The outputs of two consecutive cases will be separated by a blank line.
하지만 다음과 같은 문제가 발생합니다.
입력에 Testcase의 개수가 첫 줄에 주어진다고 했으나, 예제와 실제 데이터는 주어지지 않고 있습니다.
실제 데이터의 출력을 보면 테스트 케이스마다 출력하면 틀렸다고 나옵니다(제출번호 80425954, 80426029, 80426054)
추가로 실제 데이터에 대해 첫번째 테스트 케이스만 출력하면 맞았다고 나옵니다(제출번호 80426680)
그렇다고 TC말을 빼면 되냐라고 하면 또, 실제 데이터의 입력을 보면 첫번째 테스트 케이스의 입력 이후 추가로 데이터가 들어옴을 알 수 있습니다(제출번호 80426710:Assertion Failed)
위의 이유로 해당 문제 데이터가 오류가 있습니다. 결론적으로 테스트 케이스가 입력이 하나보다 많은 입력도 들어오나, 실제 출력은 첫 TC만 출력해야 맞습니다. 데이터 수정을 요청드립니다.
kidw0124 2년 전 1
해당 문제에 입출력에는 다음과 같은 문장이 있습니다.
<입력>
The input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. This line is followed by a blank line, and there is also a blank line between two consecutive inputs
<출력>
For each test case, your program has to write the minimal number of bins required to pack all items.
The outputs of two consecutive cases will be separated by a blank line.
하지만 다음과 같은 문제가 발생합니다.
위의 이유로 해당 문제 데이터가 오류가 있습니다. 결론적으로 테스트 케이스가 입력이 하나보다 많은 입력도 들어오나, 실제 출력은 첫 TC만 출력해야 맞습니다. 데이터 수정을 요청드립니다.