I would like to get test 8, if it isn't a problem, since that is the only case my program fails on.
z-knight
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
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
tnx, that was the problem