Need help in this problem

Revision en2, by emailam, 2022-09-07 23:17:08

i got time limit at test #9 and I do not know how to optimize the code more than this can anybody help me plz?

problem : https://codeforces.net/contest/700/problem/C

code : https://codeforces.net/contest/700/submission/171275925

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English emailam 2022-09-07 23:17:08 4
en1 English emailam 2022-09-07 23:16:43 256 Initial revision (published)