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 2092. Bolero

Is it possible to buy several subscriptions?
Posted by Alex Bragin 11 Jul 2016 01:02
Is it possible to buy several subscriptions?
Re: Is it possible to buy several subscriptions?
Posted by bsu.mmf.team 11 Jul 2016 13:48
It's not forbidden, but it's never necessary for optimal solution.
Re: Is it possible to buy several subscriptions?
Posted by Tolstobrov Anatoliy[Ivanovo SPU] 13 Jul 2016 21:08
Each subscription for k or more concerts, you not need more then one.
Re: Is it possible to buy several subscriptions?
Posted by tyomitch 17 Aug 2016 01:44
Just why?

4 1
1000 5
1000 5
1000 5
1000 5
2 10

You need to buy two identical subscriptions to get 3600.
Re: Is it possible to buy several subscriptions?
Posted by tyomitch 19 Aug 2016 01:23
Ignore my post above, I misunderstood the problem statement.
Re: Is it possible to buy several subscriptions?
Posted by Oleg Baskakov 20 Aug 2016 22:22
But still, even if you understand, i still don't. In case of
4 1
1000 5
1000 5
1000 5
1000 5
2 10
or even, if we're not allowed to use the same subscription twice,
4 2
1000 5
1000 5
1000 5
1000 5
2 10
2 10
, why can't we have 3600? That is, if i understood you correctly...