|
|
back to boardTest 6 The first test where token != used. Re: Test 6 And the first test where the program flow ends not by 'end' command. Like here: a = 1 <no end command here> Re: Test 6 Posted by Gukoff 2 Aug 2012 16:07 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. |
|
|