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 answer on TEST #1
Posted by Ayrat 27 Mar 2018 19:59
My code is:

http://lpaste.net/364125

In previous topics, I found that test number one is:
5
5 8 13 27 14

The answer to my program is 3, but the test fails all the same, what's the matter ??