20
0 1 1 0 0 1 0 0 1 1 1 0 0 1 1 1 0 1 0 0
0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 1 0 0 0 1
1 1 1 0 0 0 1 0 0 1 1 1 0 1 0 1 1 0 1 1
1 1 0 0 0 0 1 0 0 1 1 0 0 0 1 1 1 1 1 1
1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 0 1 0 0
1 1 1 0 0 1 1 0 0 0 1 1 0 1 1 0 1 0 0 0
1 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1
0 1 1 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 1 0
1 1 1 0 1 0 1 0 1 0 0 0 1 1 1 1 1 0 1 0
0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 1 0 1 0 1
0 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 0 0 1 0
0 0 1 0 0 0 1 0 0 0 0 1 1 1 1 1 0 0 0 1
0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 0
0 0 1 1 1 1 1 0 0 1 1 0 1 0 0 1 1 1 0 0
1 0 1 1 0 1 1 0 1 0 0 1 1 0 0 0 1 0 0 0
0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 1 1 0 1 0
0 1 1 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 1 1
0 0 1 0 0 0 1 0 1 0 0 1 1 0 0 0 1 0 1 1
1 0 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 0
0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 0
입력시 조금 더 앞에 있는 답이 나와야 합니다.
현재 코드에서는 2 15 2 가 나오는데
정답으로는 0 8 2 가 나와야 합니다.