Main.cpp: In function 'void sol()':
Main.cpp:56:17: error: no matching function for call to 'std::deque<long long int>::push_back(<brace-enclosed initializer list>)'
56 | pq.push_back({0, 1, 0, 0, get(1, 0, 0)});
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/deque:67,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:68,
from Main.cpp:1:
/usr/include/c++/11/bits/stl_deque.h:1496:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1496 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1496:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const long long int&'}
1496 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_deque.h:1511:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1511 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1511:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::deque<long long int>::value_type&&' {aka 'long long int&&'}
1511 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
Main.cpp:58:14: error: cannot decompose non-array non-class type 'long long int'
58 | auto [D, cur, cost, col, nid] = pq.front(); pq.pop_front();
| ^~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:71:29: error: no matching function for call to 'std::deque<long long int>::push_back(<brace-enclosed initializer list>)'
71 | pq.push_back({dis[id1], nxt, p, c, id1});
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/deque:67,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:68,
from Main.cpp:1:
/usr/include/c++/11/bits/stl_deque.h:1496:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1496 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1496:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const long long int&'}
1496 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_deque.h:1511:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1511 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1511:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::deque<long long int>::value_type&&' {aka 'long long int&&'}
1511 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
Main.cpp:75:29: error: no matching function for call to 'std::deque<long long int>::push_back(<brace-enclosed initializer list>)'
75 | pq.push_back({dis[id2], nxt, 0, 0, id2});
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/deque:67,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:68,
from Main.cpp:1:
/usr/include/c++/11/bits/stl_deque.h:1496:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1496 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1496:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const long long int&'}
1496 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_deque.h:1511:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]'
1511 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:1511:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::deque<long long int>::value_type&&' {aka 'long long int&&'}
1511 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~