sachyadon's blog

By sachyadon, history, 9 years ago, In English

http://mirror.codeforces.com/contest/599/submission/14574002

Wrong Answer on Test case 20. Please help

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
9 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Check this case

3 3

1 1 2

1 1 3

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

    Refer to the editorial. A lot of comments about this problem might prove useful.