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

Can anyone know about test #4?
Posted by Sergey An 11 Oct 2010 18:30
Hi. Don't know about #4 test can anyone help me to figure out what set of numbers it has to be?
if input will be
1
1
answer suppose to be 1? Because 1 - 0 = 1?
Re: Can anyone know about test #4?
Posted by Dmitriy Ginzburg 21 Oct 2010 18:55
Obviously, 0
1 - 1
Re: Can anyone know about test #4?
Posted by Meir 19 Aug 2011 16:12
The first 1 is number of stones, so there is one stone with weight 1. Thus, I think that right answer must be 1.