Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> (Problem #2 requires kopecks to be divisible.)

Does it? Did I fail at problem 2? I got:

Bottle + cork = 10

Bottle = 9cork

bottle/9 = cork

9(bottle + bottle/9) = 9(10)

9 bottle + bottle = 90

10 bottle = 90

bottle = 9

9 = 9cork

1 = cork



I read the second statement ("the bottle itself is 9 kopecks more expensive than the cork.") as:

Bottle = 9 + Cork

Your statement (Bottle = 9 * Cork) would be "the bottle is 9 times as expensive as the cork".

I solve it to:

Bottle = 9.5 Kopecks.

Cork = 0.5 Kopecks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: