![]() |
.. (לתיקייה המכילה) | |
Did you update the homework after it was published ? | |
Yes (Last update was on 23.12.2016) - updates: - page 9 : output of checkSol is clarified - page 10: more example for nextMoves ex3_test.txt: a bug at the test file was fixed |
what should we do in the case where there are two solutions with the same score | |
you can return either of them, like in the example where MovesScore is 5,2,2,5,’@ it can also be 4,2,2,5,’@ and get the same score |
will MovesShort and MovesScore always be 10 words in length? | |
No, they will be at least numMoves+1 bytes. for example if numMoves is 30 then each array will be at least 31 bytes in length |
How should we handle a board of size 1x1? | |
You can assume either the width or the height of the board would be greater than one. |