Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×

john9's blog

By john9, 12 years ago, In English

this is the problem :- 224B - Array this is the submission :- 2192415

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

»
12 years ago, # |
  Vote: I like it +3 Vote: I do not like it

This testcase probably won't work for you:

5 3
1 2 1 2 3

The only correct answer is 3 5