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

Tural Neymanov Can anybody clarify this to me? [2] // Problem 1796. Amusement Park 28 Apr 2013 04:03
Is such an input possible?

2 0 0 0 1 0
100
this means that teacher gave 1020 but the 20 that were given were unnecessary, and it's said that every note is needed.

Thanks.
ilalex Re: Can anybody clarify this to me? [1] // Problem 1796. Amusement Park 28 Apr 2013 19:42
No. Btw, my AC solution gives 0 on this test.
BillSu Re: Can anybody clarify this to me? // Problem 1796. Amusement Park 28 Apr 2014 06:02
That, there not such test case here.
Because your code should be wrong.
The answer for this is : 1 10, which is my AC code give, and should be as we calculate by ourselves.
But according to the question statement, it should not give such test cases. Because the teacher would not give unnecessary money.

Edited by author 28.04.2014 06:04