ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1438. Time Limit Exceeded

is there guaranteed to have...(+)
Послано Safe Bird 27 фев 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 фев 2006 14:44
or maybe there can exist:

var1 = var2 - -7

?
it's interesting that 1e8 and 1e8+1 both WA on 7...
Послано Safe Bird 27 фев 2006 14:52
Re: how about brackets "("")"?
Послано Ivankov Dmitry 27 фев 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 '+', '=', ':', ...
I think case 11 is WRONG(+)
Послано Safe Bird 27 фев 2006 15:59
without an "END" command....
ACed. thanx
Послано Safe Bird 27 фев 2006 15:59
Re: I think case 11 is WRONG(+)
Послано Ivankov Dmitry 27 фев 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).
Spaces are everywhere (-)
Послано Vladimir Yakovlev (USU) 27 фев 2006 16:12


Edited by author 27.02.2006 16:12