Problem lvm
User themadpotato
Submission Time 2023-04-22 14:07:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lvm.cpp: In function ‘int main()’:
lvm.cpp:18:20: error: expected primary-expression before ‘]’ token
18 | long long store=0;]
| ^
lvm.cpp:20:8: error: ‘i’ was not declared in this scope
20 | while(i<n){
| ^
lvm.cpp:30:16: error: expected ‘;’ before ‘:’ token
30 | blocks.pop():
| ^
| ;
lvm.cpp:33:18: error: ‘b’ was not declared in this scope
33 | blocks.push(a+b);
| ^
lvm.cpp:36:16: error: expected ‘;’ before ‘:’ token
36 | blocks.pop():
| ^
| ;
lvm.cpp:39:18: error: ‘b’ was not declared in this scope
39 | blocks.push(a*b);
| ^