Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Flvx's blog

By Flvx, history, 3 hours ago, In English

Why is the following submission giving TLE on test case 19 for problem ?

Thanks and regards.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
32 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

maybe because you're calling an extra-large local vector

//vector<vector >tree(n + 1);