TLE USING MO'S

Правка en2, от Danny_Phantom, 2022-11-29 19:53:38

i was trying to solve https://mirror.codeforces.com/problemset/problem/221/D using mo's but i was getting tle so can someone help how can i optimize this code my submissions https://mirror.codeforces.com/contest/221/submission/183198017 update 1:https://mirror.codeforces.com/contest/221/submission/183252354 accepted answer update : can someone explain why i got tle using c++20 but acc using c++17!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Danny_Phantom 2022-11-29 19:53:38 160
en1 Английский Danny_Phantom 2022-11-29 14:07:21 238 Initial revision (published)