45 is split into 4 addends: 45=x1+x2+x3+x4. Also known is
x1+2 = x2-2 = x3*2 = x4/2
Get the addends and enter the solution as x1_x2_x3_x4 (for example: 1_2_3_4).
_______________ _________
|enter solution| |Check it!|
Solution:- This challenge is very easy. It's just a math problem.
- 45=x1+x2+x3+x4
x1+2=x2-2 ===> x2=x1+4
x1+2=x3*2 ===> x3=x1/2+1
x1+2=x4/2 ===> x4=2x1+4 - So, the answer will be
45=x1+(x1+4)+(x1/2+1)+(2x1+4)
72=9x1
x1=8, x2=12, x3=5, x4=20 - Input 8_12_5_20 ! Well done!
No comments:
Post a Comment