My program works perfectly on any of my tests, on any tests from this task's discussion, even if there is no 'end' command and if there is "!=" token, but i got WA#6. Is in this test anything unusual or wrong?
Should I, for example, add an 'end' command, as Ludovic did?
http://acm.timus.ru/forum/thread.aspx?id=13124&upd=632835406669279530 And about limit of commands of 10_000_000 : "The if ... goto command works just as the goto command if the condition after if is true". Should I count an "if..goto" command, if condition was wrong?
I just have no ideas, what can be wrong in my algo. Sorry for my bad English.