0_0_39498077_16118.cpp: In function 'void solve()':
0_0_39498077_16118.cpp:40:30: error: no matching function for call to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
40 | heap.push({dp[S][i][j], i, j});
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/queue:66,
from 0_0_39498077_16118.cpp:7:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
738 | push(const value_type& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&' {aka 'const std::array<int, 3>&'}
738 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(value_type&&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
746 | push(value_type&& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&&' {aka 'std::array<int, 3>&&'}
746 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
0_0_39498077_16118.cpp:45:18: error: deduced type 'std::array<int, 3>' for '<structured bindings>' is incomplete
45 | auto [dis, i, j] = heap.top();
| ^~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39498077_16118.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<int, 3>'
2005 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
0_0_39498077_16118.cpp:50:34: error: 'now_S' was not declared in this scope
50 | if (idx[x][j] && now_S & (1 << (idx[x][j] - 1))) {//碰到怪物则更新怪物集,并计算收入
| ^~~~~
0_0_39498077_16118.cpp:52:21: error: 'v' was not declared in this scope
52 | v += A[idx[x][j]];
| ^
0_0_39498077_16118.cpp:57:56: error: 'v' was not declared in this scope
57 | if (dp[now_S][x][j] > dis + cost - v) {
| ^
0_0_39498077_16118.cpp:59:50: error: no matching function for call to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
59 | if (now_S == S) heap.push({dp[S][x][j], x, j});
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
738 | push(const value_type& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&' {aka 'const std::array<int, 3>&'}
738 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(value_type&&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
746 | push(value_type&& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&&' {aka 'std::array<int, 3>&&'}
746 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
0_0_39498077_16118.cpp:65:34: error: 'now_S' was not declared in this scope
65 | if (idx[x][j] && now_S & (1 << (idx[x][j] - 1))) {//碰到怪物则更新怪物集,并计算收入
| ^~~~~
0_0_39498077_16118.cpp:67:21: error: 'v' was not declared in this scope
67 | v += A[idx[x][j]];
| ^
0_0_39498077_16118.cpp:72:56: error: 'v' was not declared in this scope
72 | if (dp[now_S][x][j] > dis + cost - v) {
| ^
0_0_39498077_16118.cpp:74:50: error: no matching function for call to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
74 | if (now_S == S) heap.push({dp[now_S][x][j], x, j});
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
738 | push(const value_type& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&' {aka 'const std::array<int, 3>&'}
738 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(value_type&&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
746 | push(value_type&& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:746:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::value_type&&' {aka 'std::array<int, 3>&&'}
746 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
0_0_39498077_16118.cpp:80:34: error: 'now_S' was not declared in this scope
80 | if (idx[i][y] && now_S & (1 << (idx[i][y] - 1))) {//碰到怪物则更新怪物集,并计算收入
| ^~~~~
0_0_39498077_16118.cpp:82:21: error: 'v' was not declared in this scope
82 | v += A[idx[i][y]];
| ^
0_0_39498077_16118.cpp:87:56: error: 'v' was not declared in this scope
87 | if (dp[now_S][i][y] > dis + cost - v) {
| ^
0_0_39498077_16118.cpp:89:50: error: no matching function for call to 'std::priority_queue<std::array<int, 3>, std::vector<std::array<int, 3> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
89 | if (now_S == S) heap.push({dp[now_S][i][y], i, y});
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_queue.h:738:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<int, 3>; _Sequence = std::vector<std::array<int, 3> >; _Compare = std::greater<void>; value_type = std::array<int, 3>]'
738 | push(const value_type& __x)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/s
|