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 1146. Maximum Sum

I wonder if -1 or 0 here...
Posted by Liu Strong 11 Nov 2007 14:24
If the input is:
2
-1 -2
-3 -4
then should I output -1 or 0?
Who can give me a hint?
Re: I wonder if -1 or 0 here...
Posted by Vedernikoff Sergey 11 Nov 2007 20:23
According to the problem statement, you should output -1.