0_0_33286128_11264.cpp: In function 'void update(int, int, int, int, int)':
0_0_33286128_11264.cpp:37:9: error: declaration of 'int a' shadows a parameter
int a,b;
^
0_0_33286128_11264.cpp:37:11: error: declaration of 'int b' shadows a parameter
int a,b;
^
0_0_33286128_11264.cpp:38:26: error: 'n' was not declared in this scope
while(~scanf("%d%d",&n,&m))
^
0_0_33286128_11264.cpp:47:46: error: 'query' was not declared in this scope
printf("%d\n",query(a,b,1,n,1));
^
0_0_33286128_11264.cpp:52:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
|