0_0_14838437_18397.cpp: In function 'int main()':
0_0_14838437_18397.cpp:95:47: error: no matching function for call to 'ppi::ppi(pi&, int)'
pi tem=pi(tem1,tem2); q.push(ppi(tem,0)); h[tem]=0;
^
0_0_14838437_18397.cpp:95:47: note: candidates are:
0_0_14838437_18397.cpp:34:2: note: ppi::ppi(pi&, int&)
ppi(pi &_x,int &_y){
^
0_0_14838437_18397.cpp:34:2: note: no known conversion for argument 2 from 'int' to 'int&'
0_0_14838437_18397.cpp:33:2: note: ppi::ppi()
ppi(){};
^
0_0_14838437_18397.cpp:33:2: note: candidate expects 0 arguments, 2 provided
0_0_14838437_18397.cpp:30:8: note: constexpr ppi::ppi(const ppi&)
struct ppi{
^
0_0_14838437_18397.cpp:30:8: note: candidate expects 1 argument, 2 provided
0_0_14838437_18397.cpp:30:8: note: constexpr ppi::ppi(ppi&&)
0_0_14838437_18397.cpp:30:8: note: candidate expects 1 argument, 2 provided
0_0_14838437_18397.cpp:99:44: error: no matching function for call to 'ppi::ppi(pi&, int)'
tem=pi(tem1,tem2); q.push(ppi(tem,9)); h[tem]=9;
^
0_0_14838437_18397.cpp:99:44: note: candidates are:
0_0_14838437_18397.cpp:34:2: note: ppi::ppi(pi&, int&)
ppi(pi &_x,int &_y){
^
0_0_14838437_18397.cpp:34:2: note: no known conversion for argument 2 from 'int' to 'int&'
0_0_14838437_18397.cpp:33:2: note: ppi::ppi()
ppi(){};
^
0_0_14838437_18397.cpp:33:2: note: candidate expects 0 arguments, 2 provided
0_0_14838437_18397.cpp:30:8: note: constexpr ppi::ppi(const ppi&)
struct ppi{
^
0_0_14838437_18397.cpp:30:8: note: candidate expects 1 argument, 2 provided
0_0_14838437_18397.cpp:30:8: note: constexpr ppi::ppi(ppi&&)
0_0_14838437_18397.cpp:30:8: note: candidate expects 1 argument, 2 provided
0_0_14838437_18397.cpp:111:50: error: no matching function for call to 'dfs(int, int&, int&, int, int)'
if(dfs(0,l[i],x[i],tem.second+1,0)) break;
^
0_0_14838437_18397.cpp:111:50: note: candidates are:
0_0_14838437_18397.cpp:13:6: note: bool dfs(int, int)
bool dfs(int k,int g);
^
0_0_14838437_18397.cpp:13:6: note: candidate expects 2 arguments, 5 provided
0_0_14838437_18397.cpp:42:6: note: bool dfs(int, int, int&, int&, int)
bool dfs(int dis,int num0,int &x0,int &k0,int sum){
^
0_0_14838437_18397.cpp:42:6: note: no known conversion for argument 4 from 'int' to 'int&'
|