|
|
back to boardis there guaranteed to have...(+) is there guaranteed to have at least one space between: if_<varnum>_==_<varnum>_goto_<label> <variable>_=_<varnum>_*_<varnum> ("_" denote at least one space) ? how about brackets "("")"? or maybe there can exist: var1 = var2 - -7 ? it's interesting that 1e8 and 1e8+1 both WA on 7... Re: how about brackets "("")"? There are no brackets. In current tests: - there are no variables with names "end", "goto",... - I've just realized that my sol. don't work on "y=x--1", only on "y=x - -1" - spaces are everywhere, except maybe before and after '+', '=', ':', ... I think case 11 is WRONG(+) without an "END" command.... Re: I think case 11 is WRONG(+) I don't think so, my sol. never executes my own "END", added after the last line (in that case "exit(1)" would happen). Spaces are everywhere (-) Edited by author 27.02.2006 16:12 |
|
|