Better Experience Download iQuanta App

Google PlayApp Store
Performer
25d
#Doubt Responded

correct answer?

<p>correct answer and text solution are different....</p>

Comments1

Superman - iQuanta

Superman - iQuanta

The text solution's constraint is wrong. Aman first *receives* 20 from Chetan, then gives away 4, so he only needs to start with at least 1 coin, not 4. Actual coins are kx, ky, kz. Equal share forces k(y-x) = 21 and k(z-x) = 27, so k divides gcd(21,27) = 3, giving k = 3. With k = 3: y = x+7, z = x+9. Minimum positive integer x = 1, so x:y:z = 1:8:10. Check: coins are 3, 24, 30. After moves: Aman = 3+20-4 = 19, Bhuvan = 24+4-9 = 19, Chetan = 30-20+9 = 19. 19

Log in to join the discussion.