Please read the new rule regarding the restriction on the use of AI tools. ×

TLE

Revision en1, by improvement_19, 2021-07-19 08:28:47

https://codeforces.me/contest/1220/submission/122950923 i have tried this a lot but still not able to remove TLE in case of input n is 10^3 so automatically input will be o(n^2) so how to do it?? thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English improvement_19 2021-07-19 08:28:47 220 Initial revision (published)