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

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

I tried to solve 1153F. I got up with an unusual idea.Then this is my code.I clone the 1153F to a mashup.And I accepted with maximum time 1825 ms.But the time limit is only 1 second. Can some one help me to optimize the code? (Because it is not so slow,I think I don't need to change the algorithm,And I only get this way to solve the problem) [submission:53500731] in the mashup and 53500951 in the contest.

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

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

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

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

Problem Solved. Thank you for helping.