I need help

Правка en1, от BunRealCua_, 2024-10-24 10:57:13

Hi I just solve this problem: https://codeforces.me/contest/1039/problem/D by dnc and dp, i think the complexivity is just O(nlogn)

but why I got TLE althought the time limit is 7 second, can s/o explain for me pls. Thanks so much!

This is my code: https://ideone.com/kcAJAX

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский BunRealCua_ 2024-10-24 10:57:13 294 Initial revision (published)