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

Обсуждение задачи 1573. Алхимия

I didn't understand.
Послано CHIDEMYAN SERGEY 13 фев 2008 18:36
Please explain me this problem>Thank!!!
Re: I didn't understand.
Послано CHIDEMYAN SERGEY 15 фев 2008 21:39
Give me some tests,please,because I think I don't understand problem correctly,please.Thank in advance!!!
Re: I didn't understand.
Послано tn 16 фев 2008 20:18


Edited by author 16.02.2008 20:28
Re: I didn't understand.
Послано Alexander (201 - P TNU) 16 фев 2008 20:30
this problem seems hard at first, but it's very easy

2 4 5
3
Red
Yellow
Blue
>40

3 4 5
3
Red
Yellow
Blue
>60

3 4 5
3
Red
Yellow
>36

3 4 5
2
Red
Yellow
>20

3 4 5
2
Blue
Re: I didn't understand.
Послано CHIDEMYAN SERGEY 16 фев 2008 23:53
Thank you for tests!!!I have just last questions:can k be more than 3(k>3)and in 3-th & 5-th of your tests why there is only 2(in 3-th test) and 1(in 5-th test) strings,while k=3(in 3-th test) and k=2(in 5-th test). Thank in advance!!!


Edited by author 17.02.2008 00:30
Re: I didn't understand.
Послано Alexander (201 - P TNU) 17 фев 2008 03:31
no, k <= 3
and I gave you some wrong tests)
3 4 5
3
Red
Yellow
>36 - can't be(k must be 2)

3 4 5
2
Blue
Red
>12
Re: I didn't understand.
Послано CHIDEMYAN SERGEY 17 фев 2008 19:09
Thank you very much!!!I get AC!!!

Edited by author 17.02.2008 19:33
Re: I didn't understand.
Послано Khamitbekov Madi 25 май 2010 21:54
Test is wrong (Alexander (201 - P TNU)).
If input:
3 4 5
2
Red
Yellow
Output must be 20, not 36.

Edited by author 25.05.2010 21:56