1. Each test case starts with a blank line, followed by two positive integers W and H in the next line...
(매 테스트 케이스의 첫 줄)
2. ...there will be two blocks of puzzle description that started with a blank line: one for rows (that contains H lines) and another for columns (that contains W lines).
(W, H를 입력 받은 후 H줄 앞과 W줄 앞을 구분하는 줄)
3. you will be given comma separated values that denote the lengths of the runs of black squares in each row/columns (note: it can be blank).
yup0927 3년 전 1
입력 조건에 따르면 빈 줄은 3가지 경우에 등장합니다.
1. Each test case starts with a blank line, followed by two positive integers W and H in the next line...
(매 테스트 케이스의 첫 줄)
2. ...there will be two blocks of puzzle description that started with a blank line: one for rows (that contains H lines) and another for columns (that contains W lines).
(W, H를 입력 받은 후 H줄 앞과 W줄 앞을 구분하는 줄)
3. you will be given comma separated values that denote the lengths of the runs of black squares in each row/columns (note: it can be blank).
(W줄과 H줄 사이에 등장하는 빈 입력 (노노그램의 결과가 텅 빈 줄을 나타내는 입력))
하지만 예제 입력을 보면
2번째와 3번째 케이스 사이를 구분하는 빈 줄이 없습니다.
해당 입력 데이터를 수정해주세요.