0_0_28968197_16061.cpp: In function 'int main()':
0_0_28968197_16061.cpp:110:77: error: no matching function for call to 'addEdge(Graph::shortestPath<long long int, 100001ull>&, int, long long int&, int)'
for(int i=1;i<=s;i++){long long x;std::cin>>x;Graph::addEdge(G,0,x,0);}
^
0_0_28968197_16061.cpp:110:77: note: candidate is:
0_0_28968197_16061.cpp:89:10: note: template<class wT, long long unsigned int size> void Graph::addEdge(Graph::shortestPath<wT, size>&, Graph::T, Graph::T, wT)
void addEdge(shortestPath<wT,size>& G,T from,T to,wT w){
^
0_0_28968197_16061.cpp:89:10: note: template argument deduction/substitution failed:
0_0_28968197_16061.cpp:110:77: note: deduced conflicting types for parameter 'wT' ('long long int' and 'int')
for(int i=1;i<=s;i++){long long x;std::cin>>x;Graph::addEdge(G,0,x,0);}
^
|