0_0_39472486_21409.cpp:22:5: error: two or more data types in declaration of 'operator<'
22 | void bool operator < (const node tp)const{
| ^~~~
0_0_39472486_21409.cpp:29:25: error: 'k' was not declared in this scope
29 | std::vector<edge>G[1 << k][N][N];
| ^
0_0_39472486_21409.cpp: In function 'void dijstra()':
0_0_39472486_21409.cpp:46:11: error: no matching function for call to 'std::priority_queue<int>::push(node&)'
46 | q.push(st);
| ~~~~~~^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/queue:66,
from .\stdc++.h:157:
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 = int; _Sequence = std::vector<int>; _Compare = std::less<int>; value_type = int]'
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 'node' to 'const std::priority_queue<int>::value_type&' {aka 'const int&'}
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 = int; _Sequence = std::vector<int>; _Compare = std::less<int>; value_type = int]'
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 'node' to 'std::priority_queue<int>::value_type&&' {aka 'int&&'}
746 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
0_0_39472486_21409.cpp: In function 'void solve()':
0_0_39472486_21409.cpp:56:34: error: 'G' was not declared in this scope
56 | dis[p][i][j] = 0,G[p][i][j].clear();
| ^
0_0_39472486_21409.cpp:79:40: error: 'tpy' was not declared in this scope; did you mean 'tp'?
79 | if(!check(tp.x,tpy))
| ^~~
| tp
0_0_39472486_21409.cpp:86:25: error: 'G' was not declared in this scope
86 | G[p][i][j].push_back(tp);
| ^
|