0_0_24284867_26843.cpp: In function 'int main()':
0_0_24284867_26843.cpp:18:3: error: 'll' was not declared in this scope
ll rsum = 0,lsum = 0;
^
0_0_24284867_26843.cpp:31:5: error: 'lsum' was not declared in this scope
lsum = lsum+p[i].val;
^
0_0_24284867_26843.cpp:33:5: error: 'rsum' was not declared in this scope
rsum = rsum+p[i].val;
^
0_0_24284867_26843.cpp:36:6: error: expected ';' before 'res'
ll res = lsum*rsum;
^
0_0_24284867_26843.cpp:40:5: error: 'lsum' was not declared in this scope
lsum-=p[i].val;
^
0_0_24284867_26843.cpp:41:5: error: 'rsum' was not declared in this scope
rsum+=p[i].val;
^
0_0_24284867_26843.cpp:43:5: error: 'lsum' was not declared in this scope
lsum+=p[i].val;
^
0_0_24284867_26843.cpp:44:5: error: 'rsum' was not declared in this scope
rsum-=p[i].val;
^
0_0_24284867_26843.cpp:46:4: error: 'res' was not declared in this scope
res = max(res,lsum*rsum);
^
0_0_24284867_26843.cpp:46:18: error: 'lsum' was not declared in this scope
res = max(res,lsum*rsum);
^
0_0_24284867_26843.cpp:46:23: error: 'rsum' was not declared in this scope
res = max(res,lsum*rsum);
^
0_0_24284867_26843.cpp:49:2: error: expected ';' before '}' token
}
^
|