CLOST - Editorial

give a test case where this logic fails-

make a string of length n as ()()…() -total n chars
then if query is x,y it assigns String[x]=’(’ String[y]=’)’

can anyone tell me why am i getting sigsev error…
https://www.codechef.com/viewsolution/15954212

leave it…i got it