| Problem | lvm |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-04-13 11:56:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘void step(std::pair<std::__cxx11::basic_string<char>, int>, std::stack<int>&, int&)’:
lvm.cpp:7:17: error: ‘lvm’ was not declared in this scope; did you mean ‘lvms’?
7 | if (s=="PUSH") lvm.push(p);
| ^~~
| lvms
lvm.cpp:8:25: error: ‘lvm’ was not declared in this scope; did you mean ‘lvms’?
8 | if (s=="STORE") {reg = lvm.top(); lvm.pop();}
| ^~~
| lvms
lvm.cpp:9:17: error: ‘lvm’ was not declared in this scope; did you mean ‘lvms’?
9 | if (s=="LOAD") lvm.push(reg);
| ^~~
| lvms
lvm.cpp:10:26: error: ‘lvm’ was not declared in this scope; did you mean ‘lvms’?
10 | if (s=="PLUS") {int a = lvm.top(); lvm.pop(); int b = lvm.top(); lvm.pop(); lvm.push(a+b);}
| ^~~
| lvms
lvm.cpp: