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 1796. Amusement Park

Please explain to me the second example.
Posted by 3a[3.141592..]Jlu 19 Oct 2010 02:34
I don't undestand why answer 1 11?
I think answer is 6 6 7 8 9 10 11.
Thanks.
Re: Please explain to me the second example.
Posted by melkiy 20 Oct 2010 07:24
3a[3.141592..]Jlu wrote 19 October 2010 02:34
I don't undestand why answer 1 11?
I think answer is 6 6 7 8 9 10 11.
Thanks.

The conditions states: "It is assumed that the teacher didn't give extra notes, which means that there would not be enough money for the tickets if any of the notes was taken away."

That means if the smallest banknote (10 rubbles) is taken away, the money would not be sufficient for the amount of tickets she wanted to buy. She wanted 11 tickets, no less.
Please explain to me the second example.
Posted by Anupam Ghosh, Wipro Technologies 12 Feb 2012 16:43
Thank you for the correct explanation.

Edited by author 12.02.2012 16:58

Edited by author 12.02.2012 16:58