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

Problems regarding I/O and sample ex.
Posted by hsek4 28 Mar 2001 12:25
First, how I'm supposed to take input and where to give
output. I've solved 1005, but it seems that there is some
error in the way I accept input.

One more thing-The given sample input is
5
5
8
13
27
14

The given output is  : 3
whereas The correct output should be :

   (5+5+27)-(8+13+14)=2
You are right, sample fixed
Posted by Marat Bakirov 2 Apr 2001 17:42