Danny_Phantom's blog

By Danny_Phantom, history, 23 months ago, In English

is there is anyway to know the test i am getting wrong answer in if it is something like wrong answer in test 1050

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By Danny_Phantom, history, 2 years ago, In English

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!

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it