| Problem | lvm |
|---|---|
| User | VehaanGVikram |
| Submission Time | 2025-02-20 20:40:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘void STORE()’:
lvm.cpp:12:25: error: invalid use of void expression
12 | reg.push_back(stc.pop());
| ^
lvm.cpp: In function ‘void LOAD()’:
lvm.cpp:19:12: error: ‘v’ was not declared in this scope
19 | stc.push(v[i]);
| ^
lvm.cpp: In function ‘void PLUS()’:
lvm.cpp:25:17: error: void value not ignored as it ought to be
25 | int n1= stc.pop();
| ~~~~~~~^~
lvm.cpp:26:16: error: void value not ignored as it ought to be
26 | int n2=stc.pop();
| ~~~~~~~^~
lvm.cpp: In function ‘void TIMES()’:
lvm.cpp:34:17: error: void value not ignored as it ought to be
34 | int n1= stc.pop();
| ~~~~~~~^~
lvm.cpp:35:16: error: void value not ignored as it ought to be
35 | int n2=stc.pop();
| ~~~~~~~^~
lvm.cpp: In function ‘int main()’:
lvm.cpp:47:2: error: ‘String’ was not declared in this s