Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Shorter than veky's ;) solution in Creative category for Pawn Brotherhood by Juge_Ti
safe_pawns=lambda s:sum(bool({chr(ord(x)+k)+str(int(y)-1)for k in(-1,1)}&s)for x,y in s)
Sept. 11, 2014
Comments: