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

Help with I/O(exemple) to task.
Posted by Arsen R. Arutunjan 18 Apr 2001 21:01
Please descibe me how we obtain 2 in test
5
5
8
13
27
14
I have 3=|(5+13+14)-(27+8)|
No subject
Posted by Marat Bakirov 18 Apr 2001 23:52
(5+5+13+14) - (8+27) = 2
( 5 + 5 + 13 + 14 ) - ( 8 + 27 ) = 2
Posted by Marat Bakirov 18 Apr 2001 23:53
( 5 + 5 + 13  + 14 ) - ( 8 + 27 ) = 2
Re: ( 5 + 5 + 13 + 14 ) - ( 8 + 27 ) = 2
Posted by Arsen R. Arutunjan 19 Apr 2001 13:21
> ( 5 + 5 + 13  + 14 ) - ( 8 + 27 ) = 2

But first number must be amoumts of numbers?
U R rite, the correct answer is 3, and my program got accepted with this answer :D
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 19 Apr 2001 14:14
> > ( 5 + 5 + 13  + 14 ) - ( 8 + 27 ) = 2
>
> But first number must be amoumts of numbers?
OOPS! Sorry, you are right! Sample fixed.
Posted by Marat Bakirov 20 Apr 2001 17:38
Subj.
Re: U R rite, the correct answer is 3, and my program got accepted with this answer :D
Posted by SEKI ATOL-Samil 27 Jan 2007 21:20
your test wrong because 5 you can put only one time