ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1438. Time Limit Exceeded

Show all messages Hide all messages

is there guaranteed to have...(+) Safe Bird 27 Feb 2006 14:34
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 "("")"? Safe Bird 27 Feb 2006 14:44
or maybe there can exist:

var1 = var2 - -7

?
I think case 11 is WRONG(+) Safe Bird 27 Feb 2006 15:59
without an "END" command....
Re: I think case 11 is WRONG(+) Ivankov Dmitry 27 Feb 2006 16:12
I don't think so, my sol. never executes my own "END", added after the last line (in that case "exit(1)" would happen).
Re: how about brackets "("")"? Ivankov Dmitry 27 Feb 2006 15:55
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 '+', '=', ':', ...
ACed. thanx Safe Bird 27 Feb 2006 15:59
Spaces are everywhere (-) Vladimir Yakovlev (USU) 27 Feb 2006 16:12


Edited by author 27.02.2006 16:12