LoDThe's blog

By LoDThe, history, 8 years ago, translation, In English

My submission 21624050 got AC, but i tryed this test:

10 2 
1 1 1 0 0 0 0 1 2 2 
1 2

My program's answer is 8, but true answer is 9.

  • Vote: I like it
  • -3
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

My submission, which got AC, gives 9 as an answer.

On the 8th day there hasn't been a chance to pass exam 2 so the answer is at least 9.

  • »
    »
    8 years ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    But my AC code gives 8 on this test

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Your code is wrong. Answer can only be 9.

      • »
        »
        »
        »
        8 years ago, # ^ |
          Vote: I like it +19 Vote: I do not like it

        I know that my submission is wrong. I want this test in checker.