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

Unable to optimise to fit TL

Revision en1, by he1senb3rg, 2022-01-10 12:01:09

In my code here I think I have correct time complexity but the code fails due to large constant. There are comments under the contest stating that their solutions did not pass without some optimisation. Please suggest some methods to further optimise this code

Tags tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English he1senb3rg 2022-01-10 12:01:09 349 Initial revision (published)