ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1005. Stone Pile

Mirjalol WA8 What is test [3] // Problem 1005. Stone Pile 8 Oct 2016 20:58
roman.sergeenko Re: WA8 What is test [2] // Problem 1005. Stone Pile 12 Oct 2016 19:49
try this:
8
6 7 9 13 18 24 31 50

expected: 0
Neaj Morshad Re: WA8 What is test How Output is 0 ? // Problem 1005. Stone Pile 20 May 2019 13:33
8
6 7 9 13 18 24 31 50

My output : 4
expected: 0(How)
abid1729 Re: WA8 What is test // Problem 1005. Stone Pile 2 Jul 2019 08:48
8
6 7 9 13 18 24 31 50
(18+6+24+31)-(50+7+13+9)=0