Блог пользователя PerfectoZ

Автор PerfectoZ, история, 3 года назад, По-английски

Can someone help me with how I can remove TLE in this python code : 139519137 This is the same Algorithm but in C++ : 139524288 I guess O(nlogn) shouldn't be a TLE in python for n=1e5 Here is the Problem 1617C - Paprika and Permutation Thanks

  • Проголосовать: нравится
  • -22
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Bruh, check your python submission link, it's in C++. (though I didn't downvoted)

Also, it is a bit common for Python code to TLE when the time limit is very tight, which usually happens on higher problems of Div2 (like D, E ...). But, it's rare to happen on C.