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

Wrong test?
Posted by gs_leader 1 Sep 2009 18:22
this is test #1:

5
5
8
13
27
14
answer 3

It's seems to me that if we rearrange these 6 stones in such two piles:
1. 27 + 5 + 5 = 37
2. 13 + 14 + 8 = 35
we'll get diffrence 2!

Where is the dirty trick?
Re: Wrong test?
Posted by gs_leader 1 Sep 2009 18:25
never mind... already get it!
the first number in the sequence is the number of stones!