|
|
back to boardif the test data is .... Posted by Lin Zi 26 Oct 2001 17:48 if the test data is "3 1 2 " what shall we output? This input is impossible Read the problem text : " It is guaranteed that it is possible to make next move irrespective to already made moves. " Re: This input is impossible Posted by Lin Zi 26 Oct 2001 19:14 you means that all the test data has a correct answer Yes There can be "no solution" The problem text say that there always can be a move :) in your case when 3 - 2 = 1 left NO MOVE is possible and the problem text say that there can always be a move until the end of game :) |
|
|