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

Varun Sharma WA Test #7 [4] // Problem 1190. Bar of Chocolate 4 May 2009 20:33
Hi,

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

Thanks
MAK Re: WA Test #7 [3] // Problem 1190. Bar of Chocolate 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.
░▒ Nguyễn Kim Vỹ ▒░ Re: WA Test #7 [2] // Problem 1190. Bar of Chocolate 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.
Varun Sharma Re: WA Test #7 // Problem 1190. Bar of Chocolate 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.
SuperLight Re: WA Test #7 // Problem 1190. Bar of Chocolate 24 Dec 2010 17:30