0_0_30417431_1741.cpp: In function 'void Dij(int, int)':
0_0_30417431_1741.cpp:50:22: error: no matching function for call to 'node::node(int&, int)'
que.push(node(s,0));
^
0_0_30417431_1741.cpp:50:22: note: candidates are:
0_0_30417431_1741.cpp:27:8: note: node::node()
struct node {
^
0_0_30417431_1741.cpp:27:8: note: candidate expects 0 arguments, 2 provided
0_0_30417431_1741.cpp:27:8: note: constexpr node::node(const node&)
0_0_30417431_1741.cpp:27:8: note: candidate expects 1 argument, 2 provided
0_0_30417431_1741.cpp:27:8: note: constexpr node::node(node&&)
0_0_30417431_1741.cpp:27:8: note: candidate expects 1 argument, 2 provided
0_0_30417431_1741.cpp:72:40: error: no matching function for call to 'node::node(int&, long long int&)'
que.push(node(v,dist[v]));
^
0_0_30417431_1741.cpp:72:40: note: candidates are:
0_0_30417431_1741.cpp:27:8: note: node::node()
struct node {
^
0_0_30417431_1741.cpp:27:8: note: candidate expects 0 arguments, 2 provided
0_0_30417431_1741.cpp:27:8: note: constexpr node::node(const node&)
0_0_30417431_1741.cpp:27:8: note: candidate expects 1 argument, 2 provided
0_0_30417431_1741.cpp:27:8: note: constexpr node::node(node&&)
0_0_30417431_1741.cpp:27:8: note: candidate expects 1 argument, 2 provided
0_0_30417431_1741.cpp: In function 'void addedge(int, int, long long int)':
0_0_30417431_1741.cpp:86:28: error: no matching function for call to 'Edge::Edge(int&, long long int&)'
E[u].push_back(Edge(v,w));
^
0_0_30417431_1741.cpp:86:28: note: candidates are:
0_0_30417431_1741.cpp:35:8: note: Edge::Edge()
struct Edge{
^
0_0_30417431_1741.cpp:35:8: note: candidate expects 0 arguments, 2 provided
0_0_30417431_1741.cpp:35:8: note: constexpr Edge::Edge(const Edge&)
0_0_30417431_1741.cpp:35:8: note: candidate expects 1 argument, 2 provided
0_0_30417431_1741.cpp:35:8: note: constexpr Edge::Edge(Edge&&)
0_0_30417431_1741.cpp:35:8: note: candidate expects 1 argument, 2 provided
|