Help me!

Revision en2, by 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.

Tags help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English MagicSpark 2019-04-29 17:18:06 1464
en1 English MagicSpark 2019-04-29 17:16:23 1852 Initial revision (published)