|
|
вернуться в форумOLE #4 I think I need help~~ any hint please ? Re: OLE #4 I think I need help~~ Послано Kit 1 авг 2006 21:02 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 Re: OLE #4 I think I need help~~ 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. Re: OLE #4 I think I need help~~ check for backward and forward links x = 1 goto lab x = 10 lab: x = x + 1 if x < 3 goto lab print x |
|
|