Problem 360 Whisky Blending
source link: https://www.codeabbey.com/index/forum_topic/7e88bc852673a58ce795d823d19a2379
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Problem 360 Whisky Blending |
Back to General discussions forum
Hello,
the problem seemed easy enough. But I don't understand how it is possible to get the blending of testcase #4. 4 49 452 60 373 42 518
I get percentages of 42, 46.5, 51 and 55.5. The closest value to 49 is 49.01. Obviously I miss an important point, but which one?
Not sure I understand what you mean by "I get percentages of". I think it's reasonably clear that if we have a required volume (and enough whisky), there is never more than one way to blend to the required strength (unless you have the degenerate case of two whiskys of identical strength).
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK