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

Wrong tests
Posted by Fyodor Menshikov 31 Jan 2009 20:48
Test 3 contains duplicate names of components.

If one component may be mentioned several times, then for the following test

2
Water 1 6000
Water 0

answer should be 'NO' because according to component list bar consists entirely of water, and percent of water should be 100 (10000 in input).

All known to me AC solutions ignore names of components so I suggest to rename duplicate names in test 3 and add into statement notice that all names in the list are different.
Fixed (-)
Posted by Sandro (USU) 4 Feb 2009 11:36