"Each data set consists of 3 lines. The first line contains a single decimal integer which is the problem number (starting at 1)."
This description is wrong. The problem number is never provided in the input, and each data set consists of 2 lines.
The input description should be fixed like this:
"... Each data set consists of 32 lines. The first line contains a single decimal integer which is the problem number (starting at 1). The secondfirst line contains the first 50 characters of the input string. The thirdsecond line contains the final 45 characters of the input string. ..."
kcits970 9달 전
"Each data set consists of 3 lines. The first line contains a single decimal integer which is the problem number (starting at 1)."
This description is wrong. The problem number is never provided in the input, and each data set consists of 2 lines.
The input description should be fixed like this:
"... Each data set consists of
32 lines.The first line contains a single decimal integer which is the problem number (starting at 1).Thesecondfirst line contains the first 50 characters of the input string. Thethirdsecond line contains the final 45 characters of the input string. ..."