Minesweeper by Puzzlet Chung

import os
x,b='x'*18,os.read(0,271)
print''.join([str(sum((x+b+x)[i+k:][:3].count('*')for k in[0,17,34])),c][c<'.']for(i,c)in enumerate(b))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page