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

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

[中山一中]Rabidstorm I can't understand the problem... [5] // Задача 1403. Курьер 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?
lian lian Re: I can't understand the problem... [4] // Задача 1403. Курьер 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
[中山一中]Rabidstorm Re: I can't understand the problem... // Задача 1403. Курьер 31 дек 2008 11:00
Thanks!!!
egor-belikov Re: I can't understand the problem... [2] // Задача 1403. Курьер 7 ноя 2010 22:34
Can I answer in the first test "3 2"?
Leonid (SLenik) Andrievskiy Re: I can't understand the problem... // Задача 1403. Курьер 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.
SazanovSasha Re: I can't understand the problem... // Задача 1403. Курьер 2 авг 2013 13:22
"If there are several solutions, output any of them."