+ 1

[ADVERTISEMENT] This actually works

https://code.sololearn.com/cH1pRP9bQVMm/?ref=app If didn't work make sure your calculation are correct and please drop a like

21st Feb 2018, 4:40 PM
Syed Shaheryar
Syed Shaheryar - avatar
2 ответов
+ 2
I know how this works: Suppose you choose x. S1 : Double x. => 2x. S2 : Add 10 => 2x + 10. S3 : Donate Half => x + 5. S4 : Subtract x => 5. You are now left with 5, no matter what you chose. Not a big deal now. Try developing something more useful next time.
21st Feb 2018, 4:55 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar