0_0_14515666_6550.cpp:15:35: error: 'i' was not declared in this scope
long long sum[N<<2],laz[N<<2],ans[i];
^
0_0_14515666_6550.cpp: In function 'int main()':
0_0_14515666_6550.cpp:97:17: error: 'ans' was not declared in this scope
ans[j->second]=query(1,1,n,i,j->first);
^
0_0_14515666_6550.cpp:99:49: error: 'ans' was not declared in this scope
for (int i=1;i<=q;++i) printf("%I64d\n",ans[i]);
^
|