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 1190. Bar of Chocolate

WA Test #7
Posted by Varun Sharma 4 May 2009 20:33
Hi,

I keep getting wrong answer for test 7. Any hint as to what is test 7 ?

Thanks
Re: WA Test #7
Posted by MAK 2 Jun 2010 11:42
This test helped me.

4
Water 1 10
Cocoa-butter 0
Cocoa-powder 1 1
Lecithin 0

answer is "NO". My mistake was in disregarding too low maximum value.
Re: WA Test #7
Posted by ░▒ Nguyễn Kim Vỹ ▒░ 22 Jul 2010 18:54
Thank your hint!
MAK wrote 2 June 2010 11:42
This test helped me.

4
Water 1 10
Cocoa-butter 0
Cocoa-powder 1 1
Lecithin 0

answer is "NO". My mistake was in disregarding too low maximum value.
Re: WA Test #7
Posted by Varun Sharma 24 Dec 2010 05:03
For the above shown test the minimum possible weight is 13(10 + 1 + 1 + 1) and the maximum possible weight is 22 (10 + 10 + 1 + 1). Since 10000 does not lie in their range, the answer is NO.
Re: WA Test #7
Posted by SuperLight 24 Dec 2010 17:30