UVa 10196
From Algorithmist
Revision as of 18:12, 24 July 2008 by 147.52.193.24 (Talk)
Just make a 8x8 matrix and after check whether a king is under attack. Be careful with the difference between white and balck pawns.