PRMQ getting wrong answer while 2nd subtask is Getting correct answer

hmm negative ub ;o Could it be because some tree[idx].size = 0?. Anyways! Glad to be of some help!

1 Like