0_0_23763913_31748.cpp:7:1: error: 'll' does not name a type
ll sum[mx<<2],add[mx<<2];
^
0_0_23763913_31748.cpp: In function 'void pushup(int)':
0_0_23763913_31748.cpp:9:5: error: 'sum' was not declared in this scope
sum[rt]=sum[rt<<1]+sum[rt<<1|1];
^
0_0_23763913_31748.cpp: In function 'void pushdown(int, int)':
0_0_23763913_31748.cpp:12:8: error: 'add' was not declared in this scope
if(add[rt]) {
^
0_0_23763913_31748.cpp:15:9: error: 'sum' was not declared in this scope
sum[rt<<1]=add[rt]*(len-(len>>1));
^
0_0_23763913_31748.cpp: In function 'void build(int, int, int)':
0_0_23763913_31748.cpp:21:5: error: 'add' was not declared in this scope
add[rt]=0;
^
0_0_23763913_31748.cpp:23:9: error: 'sum' was not declared in this scope
sum[rt]=1;
^
0_0_23763913_31748.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_23763913_31748.cpp:33:9: error: 'add' was not declared in this scope
add[rt]=c;
^
0_0_23763913_31748.cpp:34:9: error: 'sum' was not declared in this scope
sum[rt]=(ll)c*(r-l+1);
^
0_0_23763913_31748.cpp:34:18: error: 'll' was not declared in this scope
sum[rt]=(ll)c*(r-l+1);
^
0_0_23763913_31748.cpp: At global scope:
0_0_23763913_31748.cpp:43:1: error: 'll' does not name a type
ll querry(int L,int R,int l,int r,int rt) {
^
0_0_23763913_31748.cpp: In function 'int main()':
0_0_23763913_31748.cpp:62:87: error: 'querry' was not declared in this scope
printf("Case %d: The total value of the hook is %I64d.\n",cas,querry(1,n,1,n,1));
^
|