Problem wires
User Hhw48
Submission Time 2023-12-22 15:55:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:12:2: error: ‘deque’ was not declared in this scope
12 | deque<int>dq;
| ^~~~~
wires.cpp:12:2: note: suggested alternatives:
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from wires.h:1,
from wires.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:849:11: note: ‘std::deque’
849 | class deque : protected _Deque_base<_Tp, _Alloc>
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from wires.h:1,
from wires.cpp:1:
/usr/include/c++/9/deque:87:13: note: ‘std::pmr::deque’
87 | using deque = std::deque<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~
wires.cpp:12:8: error: expected primary-expression before ‘int’
12 | de