Problem lvm
User PlayVoltz
Submission Time 2023-05-12 18:11:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lvm.cpp: In function ‘int main()’:
lvm.cpp:20:28: error: invalid type argument of unary ‘*’ (have ‘int’)
20 | stack.push(*vect[index].second);
| ^~~~~~
lvm.cpp:23:23: error: invalid type argument of unary ‘*’ (have ‘int’)
23 | index=*vect[index].second-1;
| ^~~~~~