|
|
back to boardany hint please ? I was also stunned by this test, now I have AC. i = 0 j = 0 loop1: loop2: j = j + 1 if j < i goto loop2 j = 0 i = i + 1 if i < 100 goto loop1 (Consecutive labels) Good luck. Edited by author 12.08.2006 12:28 I think that your program incorrectly interprets input program. For example, there are cycle in which there are print operation and your program incorrectly works with this cycle. Maybe your program enters in infinite cycle in that case. (The cycle is 'label' and 'goto label') I advise you examine work with labels. check for backward and forward links x = 1 goto lab x = 10 lab: x = x + 1 if x < 3 goto lab print x |
|
|