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

Обсуждение задачи 1403. Курьер

I can't understand the problem...
Послано [中山一中]Rabidstorm 30 дек 2008 10:43
Don't it mean he only deliver one whisky on one day?
I don't know the test while the others programmer offer...
Who can tell me what the problem mean?
Re: I can't understand the problem...
Послано lian lian 30 дек 2008 17:15

example :

3

1 10           (order: 1)
2 15           (order: 2)
2 17           (order: 3)

the answer:
2
2 3
```````
The result  don`t have (order: 1), because the last arrive day is 2, mean the man deliver twice, one day one once, the  subject mean it find out max profit in no more than the last day

4
1 17
5 20
2 10
2 11

answer:
3
1 4 2

Do you understand ?

Edited by author 30.12.2008 17:17
Re: I can't understand the problem...
Послано [中山一中]Rabidstorm 31 дек 2008 11:00
Thanks!!!
Re: I can't understand the problem...
Послано egor-belikov 7 ноя 2010 22:34
Can I answer in the first test "3 2"?
Re: I can't understand the problem...
Послано Leonid (SLenik) Andrievskiy 13 май 2011 01:40
Nope) "1 4 2" answer gives a 17+11+15=43$ reward. And there is no other sequence of delivery that will give us $43 reward.
Re: I can't understand the problem...
Послано SazanovSasha 2 авг 2013 13:22
"If there are several solutions, output any of them."