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

Автор ShockProof, история, 8 лет назад, По-английски

I wrote a solution to 295B... After getting wrong ans on test case 4 I tested my solution on Custom Innovation and it is showing the correct output for the 4th case.

I tested my code in ideone also. here is the ideone test. It produces correct output both on CUSTOM INVOCATION and on Ideone.

I can't figure out what is wrong with my submission. could somebody please help me?

Edit:

My bad. The participant's output is shown first. Which is wrong and I got WA. I thought that it is the Jury's output.

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

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

Auto comment: topic has been updated by ShockProof (previous revision, new revision, compare).