Go capture by 51b

import std.stdio;void main(){char x;int y,z=20;for(int[1700]a;scanf("%c%d ",&x,&y)<0?z%20*!a[z]&&a[z-1]+a[z+1]+a[z-20]+a[z+20]&&writefln(x=z/20+z/1460,z%20),++z:++a[z*(x-x/73)+y];){}}

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

download

return to the top page