0_0_28988371_30300.cpp:63:12: error: expected unqualified-id before '[' token
int tot_va;[mn];
^
0_0_28988371_30300.cpp: In function 'void add(int, int)':
0_0_28988371_30300.cpp:67:9: error: 'tot_val' was not declared in this scope
pos[tot_val[x]]-=mid[x];
^
0_0_28988371_30300.cpp: In function 'void solve()':
0_0_28988371_30300.cpp:80:21: error: 'tot_val' was not declared in this scope
rep(q,0,n)pos[q]=0,tot_val[q]=0,used[q]=0,pos[-q]=0;
^
0_0_28988371_30300.cpp: In function 'void solve1()':
0_0_28988371_30300.cpp:96:21: error: 'tot_val' was not declared in this scope
rep(q,0,n)pos[q]=0,tot_val[q]=0,pos[-q]=0;
^
|