Problem | minstack |
---|---|
User | bz |
Submission Time | 2023-11-19 12:46:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minstack.cpp:5:7: error: ‘ll’ was not declared in this scope
5 | stack<ll> s;
| ^~
minstack.cpp:5:9: error: template argument 1 is invalid
5 | stack<ll> s;
| ^
minstack.cpp:5:9: error: template argument 2 is invalid
minstack.cpp:6:10: error: ‘ll’ was not declared in this scope
6 | multiset<ll> ms;
| ^~
minstack.cpp:6:12: error: template argument 1 is invalid
6 | multiset<ll> ms;
| ^
minstack.cpp:6:12: error: template argument 2 is invalid
minstack.cpp:6:12: error: template argument 3 is invalid
minstack.cpp: In function ‘void push(int)’:
minstack.cpp:9:4: error: request for member ‘push’ in ‘s’, which is of non-class type ‘int’
9 | s.push(X);
| ^~~~
minstack.cpp:10:8: error: request for member ‘insert’ in ‘ms’, which is of non-class type ‘int’
10 | ms.insert(X);
| ^~~~~~
minstack.cpp: In fun