Problem problematicjourney
User Mimikyu
Submission Time 2024-11-13 11:18:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problematicjourney.cpp: In function ‘bool check(long long int)’:
problematicjourney.cpp:18:37: error: wrong number of template arguments (3, should be at least 1)
18 | deque<pii, vector<pii>, greater<pii>> dijk;
| ^~
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from problematicjourney.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:849:11: note: provided for ‘template<class _Tp, class _Alloc> class std::deque’
849 | class deque : protected _Deque_base<_Tp, _Alloc>
| ^~~~~
problematicjourney.cpp:7:12: error: request for member ‘push_back’ in ‘dijk’, which is of non-class type ‘int’
7 | #define pb push_back
| ^~~~~~~~~
problematicjourney.cpp:19:7: note: in expansion of macro ‘pb’
19 | dijk.pb({0,1});
| ^~
problemati