Hey guys, i wanted to know how i can optimise my solution for Code Forces round #655 div2. problem B

Revision en1, by Phobiceron, 2020-07-14 15:13:25

86827890

it says TLE on the 4th test case. Can someone please help me to find a better solution.Thanks in advance.

p.s.:sorry if this isn't how you are supposed to use blogs, i wasn't sure where to post doubts in this website.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Phobiceron 2020-07-14 15:13:58 53
en1 English Phobiceron 2020-07-14 15:13:25 348 Initial revision (published)