TLE in div2 B

Revision en1, by CP_Sucks, 2020-01-05 20:19:30

I tried to implement recent div2B with as optimised constant as i could. Can someone tell why my solutions TLE. It Tled 7 times in contest. I tried many approaches

eg submissions

https://codeforces.me/contest/1287/submission/68278756

https://codeforces.me/contest/1287/submission/68277154

Can someone tell why the first submission TLE on TC 10

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English CP_Sucks 2020-01-05 20:19:30 374 Initial revision (published)