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

Обсуждение задачи 1689. Рыболов и штанга

Показать все сообщения Спрятать все сообщения

Test #16 Alexander Kouprin 5 мар 2009 03:41
If you have some troubles with passing 16th test, try

20 3
10 5
5
1 4 8 12 16
Re: Test #16 Vedernikoff Sergey (HSE: EconomicsForever!) 5 мар 2009 15:18
I've passed test 16, but stuck on 17...
And, by the way, what is right answer on your test?
Re: Test #16 Sfairat 5 мар 2009 20:10
If my solution is correct(it got AC),then it's 0
Re: Test #16 OpenGL 6 мар 2009 01:32
I'm can't pass test #22 :(
Re: Test #16 OpenGL 9 мар 2009 14:55
This tests very helped me to pass test #16 and test #22:

7 3
5 2
1
1

answer 0

7 4
6 2
1
1

answer 0

Edited by author 09.03.2009 14:55
Re: Test #16 toweleen 27 янв 2012 23:37
Could you explain please how to get answer 0 in your tests?
like in 1st for example:

worm is from 1 to 4 [1;4)
it means that empty part are only [0;1) and [4;7)
and I couldn't place the barbell without squashing the worm.

I'm wrong somewhere, please tell me.