[problem 76] Pawn Move Validator

Back to General discussions forum

Ali Faki     2017-01-31 08:32:35
User avatar

to everyone who solved problem 76 i want explanation how the output of this input

a2a3 h7h6 b2b4 g7g5 a3a4 h6g5

is 6

thanks.

Quandray     2017-01-31 10:13:07
User avatar

Hi,

The first five moves are valid. The sixth move is invalid, because both h6 and g5 are black pawns.

bananappp     2018-06-18 20:33:19

yeet. Thats right Quandrary

Please login and solve 5 problems to be able to post at forum