Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя doke_no_buggy

Автор doke_no_buggy, история, 18 месяцев назад, По-английски

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.

  • Проголосовать: нравится
  • -7
  • Проголосовать: не нравится

»
18 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why the downvotes??

»
18 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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.

  • »
    »
    18 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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.