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

1005
Posted by Maxim 10 Jan 2006 19:59
Please, help me! The system say me WA #5! Why???
Re: 1005
Posted by Igor E. Tuphanov 11 Jan 2006 11:59
Try this:
3
100 50 50

1
100

5
1 2 3 4 5

4
1 10 100 1000

I don't know, what can be wrong, my solution is very simple.