Problem lvm
User AltheaZ
Submission Time 2023-07-24 16:49:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lvm.cpp: In function ‘int main()’:
lvm.cpp:32:13: error: ‘arr’ was not declared in this scope; did you mean ‘arg’?
32 | arr.push(arg);
| ^~~
| arg
lvm.cpp:34:27: error: ‘arr’ was not declared in this scope; did you mean ‘arg’?
34 | reg.push_back(arr.top());
| ^~~
| arg
lvm.cpp:38:17: error: ‘arr’ was not declared in this scope; did you mean ‘arg’?
38 | arr.push(reg[j]);
| ^~~
| arg
lvm.cpp:41:21: error: ‘arr’ was not declared in this scope; did you mean ‘arg’?
41 | int x = arr.top();
| ^~~
| arg
lvm.cpp:45:21: error: ‘arr’ was not declared in this scope; did you mean ‘arg’?
45 | int x = arr.top();
| ^~~
|