doke_no_buggy's blog

By doke_no_buggy, history, 12 months ago, In English

submission link question link

I am pretty sure that the logic (find the pairs that are occuring the most) I have used is correct but I am getting a wrong answer. Can some tell me what's wrong with my code or provide a counter test case . Any help is appreciated.

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

»
12 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Why the downvotes??

»
12 months ago, # |
  Vote: I like it 0 Vote: I do not like it

or provide a counter test case

Why don't you just see it for youself (it is opened)? If you think But it is too long then in verdict you can see wrong answer 1st numbers differ - expected: '124', found: '128' (1st number, and this input is clearly fully visible)

Didn't read neither code nor problem, but countercase is accessible in your case.

  • »
    »
    12 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Oh yes it is available. I thought the full testcase isn't available. Didn't scroll or swipe the testcase window. Thanks for the reply.