Help me!

Правка en2, от MagicSpark, 2019-04-29 17:18:06

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.

Теги help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский MagicSpark 2019-04-29 17:18:06 1464
en1 Английский MagicSpark 2019-04-29 17:16:23 1852 Initial revision (published)