Problem | lvm |
---|---|
User | glog |
Submission Time | 2023-02-20 17:53:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int main()’:
lvm.cpp:12:51: error: expected initializer before ‘instnum’
12 | stack<int>v; vector<int> s; int reg = 0,a,b,i,j instnum, k; bool f = false; string h;
| ^~~~~~~
lvm.cpp:13:10: error: ‘instnum’ was not declared in this scope
13 | cin >> instnum;
| ^~~~~~~
lvm.cpp:20:7: error: ‘instarr’ was not declared in this scope
20 | instarr[i]=0;
| ^~~~~~~
lvm.cpp:21:14: error: ‘k’ was not declared in this scope
21 | cin >> k;
| ^
lvm.cpp:25:9: error: ‘instarr’ was not declared in this scope
25 | instarr[i]=1;
| ^~~~~~~
lvm.cpp:28:7: error: ‘instarr’ was not declared in this scope
28 | instarr[i]=2;
| ^~~~~~~
lvm.cpp:31:7: error: ‘instarr’ was not declared in this scope
31 | instarr[i]=3;}
|