Problem | potatoqueue |
---|---|
User | TheGhostKing |
Submission Time | 2023-06-03 18:55:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatoqueue.cpp: In function ‘void init()’:
potatoqueue.cpp:7:2: error: ‘stack’ was not declared in this scope; did you mean ‘std::stack’?
7 | stack<int> s;
| ^~~~~
| std::stack
In file included from /usr/include/c++/9/stack:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:89,
from potatoqueue.cpp:1:
/usr/include/c++/9/bits/stl_stack.h:99:11: note: ‘std::stack’ declared here
99 | class stack
| ^~~~~
potatoqueue.cpp:7:8: error: expected primary-expression before ‘int’
7 | stack<int> s;
| ^~~
potatoqueue.cpp:8:2: error: ‘queue’ was not declared in this scope; did you mean ‘std::queue’?
8 | queue<int> q;
| ^~~~~
| std::queue
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from potatoqueue.cpp:1: