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

Обсуждение задачи 1820. Уральские бифштексы

Why the output for sample input isn't 4?
Послано Alaska . PK 6 окт 2011 22:53
When n = 3 and k = 2, the output should be 4 because for the first 2 steaks, it would take 2 minutes (1 + 1 for both the sides) and for the remaining 1 steak again 2 minutes (1 + 1 for both the sides)
then 2 + 2 = 4. That's what I think the output should be. So, what's wrong here, can somebody answer please?
Re: Why the output for sample input isn't 4?
Послано morbidel 7 окт 2011 15:01
minute 1: side 1 steak 1 and side 1 steak 2
minute 2: side 2 steak 1 and side 1 steak 3 (steak 1 is finished)
minute 3: side 2 steak 2 and side 2 steak 3 (steak 2 and 3 are finished)
Re: Why the output for sample input isn't 4?
Послано ONU_team_AvengerS 5 ноя 2011 17:14
Case it's 3 you stupid fuck!!!
Re: morbidel
Послано Vsevolod 21 янв 2012 17:40
Oh, now I see. Thanks for explanation.
Re: Why the output for sample input isn't 4?
Послано Firdavs 7 мар 2012 09:54
Thanks. Boys acm.timus.ru this cool!
Re: Why the output for sample input isn't 4?
Послано HaiyangZheng 29 сен 2012 12:17
very thanks! good explain!

Edited by author 29.09.2012 12:20
Re: Why the output for sample input isn't 4?
Послано Sanfeng HU 8 апр 2013 19:55
Thanks a lot!
Re: Why the output for sample input isn't 4?
Послано annonynous 11 апр 2013 14:42
nice explaination!!!! thanks a lot

Edited by author 11.04.2013 14:42
Re: Why the output for sample input isn't 4?
Послано Armen_Zakarya 28 июн 2013 18:48
Thanks very much. really very good explanation...
Re: Why the output for sample input isn't 4?
Послано Mescheryakov_Kirill 27 мар 2014 13:48
thank
Re: Why the output for sample input isn't 4?
Послано faramarz 11 дек 2014 23:32
thank you bro.