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 1998. The old Padawan

why wa #5
Posted by wust_fb 29 Jul 2014 08:22
why  wa  #5
Re: why wa #5
Posted by Marginean Ciprian 31 Aug 2014 21:21
I fixed my WA#5 after investigating with this test:
Input:
3 2 1
2 2 2
2
6

Output:
5