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

Автор divyanshubansal, история, 4 года назад, По-английски

My solution this failed the system test case in the Educational Codeforces Round 85 [Rated for Div. 2] giving tle verdict. But when I submitted the same code this after the contest it was accepted. Please anyone can help me what could have happened wrong.

MikeMirzayanov sir can you please take a look into this matter.

And I apologize for my bad English.

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

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

Do not use endl, use '\n' instead of this. Endl is also flushing output which takes a long time. I submitted your code 76261395 with '\n' and it took 592ms. While the system testing load on servers is higher, so solutions can run slower.

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

    Ok fine I will remember it from next time. But my same solution got accepted after the contest. So I will not be getting points for my correct solution?