| Problem | lvm |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-02-07 17:53:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int main()’:
lvm.cpp:12:6: error: ‘intruction’ was not declared in this scope; did you mean ‘instruction’?
12 | if(intruction[i] == "PUSH" || intruction[i] == "IFZERO"){
| ^~~~~~~~~~
| instruction
lvm.cpp:24:13: error: ‘reg’ was not declared in this scope
24 | reg = st.top();
| ^~~
lvm.cpp:28:21: error: ‘reg’ was not declared in this scope
28 | st.push(reg);
| ^~~
lvm.cpp:30:19: error: ‘instr’ was not declared in this scope; did you mean ‘int’?
30 | }else if (instr[ip] == "PLUS") {
| ^~~~~
| int
lvm.cpp:48:16: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
48 | ip = arg[ip];
| ^