Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Encoded solution in Creative category for Pawn Brotherhood by veky
def safe_pawns(pawns):
ps = {tuple(pawn.encode()) for pawn in pawns}
return sum(any((file+d, rank-1) in ps for d in {-1,1}) for file, rank in ps)
June 18, 2017
Comments: