Problem subgraphs
User emyz
Submission Time 2024-04-13 19:36:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:26:12: error: invalid use of non-static member function ‘void std::queue<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’
26 | process.pop;
| ~~~~~~~~^~~
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from subgraphs.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:292:7: note: declared here
292 | pop()
| ^~~