Unable to optimise to fit TL

Правка en1, от 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

Теги tle

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский he1senb3rg 2022-01-10 12:01:09 349 Initial revision (published)