verify(int [] p)
ret = int[rows*columns]
for(i = 0; i<length(p); i++)
print p[i]
print ' '
print '\n'
flush(stdout)
s = readString()
for(i = 0; i< rows*columns;i++)
ret[i] = s[i] - '0'
return ret
main()
pieceSize = readInt();
columns = readInt()
rows = readInt()
pixels = int[pieceSize*pieceSize*rows*columns]
for(i = 0; i < pieceSize*pieceSize*rows*columns]; i++)
pixels[i] = readInt()
verify(reconstruct(pieceSize,columns,rows,pixels))
| -height <height> | Specify the initial height of the window |
| -width <width> | Specify the initial width of the window |
| -pieceSize <s> | Specify the piece size |
| -file <A> | Specify the image file |
| -seed <seed> | Specify the initial seed |
| -speed <speed> | Specify the initial speed |
| -exec <command> | Specify the command to execute your code |
| -novis | Run the test case without the visualizer (requires -exec, implies -go) |
| -go | Start running immediately (requires -exec) |
| -drop | Tell the visualizer to drop frames if it can't keep up |