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

Revision en2, by Phobiceron, 2020-07-14 15:13:58

86827890 problem:https://codeforces.com/contest/1372/problem/B 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)