Why am I getting a TLE ?

Правка en1, от Shreyansh_1347, 2023-05-31 21:18:23

I exactly implemented the tutorial for the problem G. Hits Different. The solution they gave looks like they have the same time complexity as mine. But still, I get a TLE on test case 2. My Submission

Теги dp, math, implementations, *1600

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Shreyansh_1347 2023-05-31 21:18:23 377 Initial revision (published)