why i m getting tle with this submission

Revision en1, by bansalarpan4, 2024-12-28 20:04:58

problem 2037D - Sharky Surfing my submission — 298878809

i check out some other submission like 291973736, i believe the time complexity is same for both but mine leads to tle. any explanation ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bansalarpan4 2024-12-28 20:04:58 263 Initial revision (published)