ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1403. Courier

I can't understand the problem...
Posted by [中山一中]Rabidstorm 30 Dec 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...
Posted by lian lian 30 Dec 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...
Posted by [中山一中]Rabidstorm 31 Dec 2008 11:00
Thanks!!!
Re: I can't understand the problem...
Posted by egor-belikov 7 Nov 2010 22:34
Can I answer in the first test "3 2"?
Re: I can't understand the problem...
Posted by Leonid (SLenik) Andrievskiy 13 May 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...
Posted by SazanovSasha 2 Aug 2013 13:22
"If there are several solutions, output any of them."