← Back to topics
Topic

z-knight

n
nemanja1990
I would like to get test 8, if it isn't a problem, since that is the only case my program fails on.
p
picsel
Your input is only
for i:=1 to 9 do

There can be one king, one knight and 8 pawns. That's 10 figures, not 9.
I think that is the problem