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

Обсуждение задачи 1027. Снова D++

Am I right?
Послано Baz 15 мар 2011 15:59
Am I right, that expression ((**)*)(**)*) can be understood in two different ways:
({}*){*)} and
({*)*)(*}*) where {} are comments?
Re: Am I right?
Послано Baz 15 мар 2011 22:55
FUCK! My friend explained me that a comment can not contain "*)", but it was not mentioned in the statement!!! Now I got AC. Leonid Volkov and Alexey Lysenko, I hate you!
Re: Am I right?
Послано IgorKoval(from Pskov) 16 сен 2011 23:56
((**)*)(**)*) Answer is NO! Because it's ({}*)){}*), where {} is comment, {} := (**)
((**)*) answer is YES
(*) answer is NO
Re: Am I right?
Послано Orlangur 19 сен 2011 16:25
A comment is always opened by a pair of symbols "(*" and is closed by a pair of symbols "*)"
->
A comment is always opened by a pair of symbols "(*"
A comment is always closed by a pair of symbols "*)"

Problem statement is absolutely clear.