Thanks in advance :);
From codeforces EDU I solved THIS segment tree related problem and got accepted, I found THIS on CSES which is very similar to the problem I solved (on codeforces EDU). I submitted exactly same code for both of them (only thing I changed is removed first type query). On codeforces it is accepted and CSES gives runtime error.
Can someone spot the issue and tell me what to do to resolve that? THANKS IN ADVANCE...