|
|
back to boardNew test We have added new test to problem 1005. We do not want to rejudge your submits. If you want, you can resubmit it to make sure you solve it right. A problem with submitting I think there is a problem with this 1005. I have tried a lot of test cases randomly generated by another program and it works well. But, when I try to submit it, it says "Wrong answer". Please see to it. Thank you Re: A problem with submitting I've tried a lot of test inputs also and it worked OK, but then I've found a couple of examples when my method does not work. I suppose your algorythm is similar to my one. :)) Try to change it. Try this (+) One of the "bad" examples is 5 16 13 7 6 4 The correct answer here is 0 (16+7=13+6+4). My first program told the minimum is 2. :( |
|
|