0_0_37746745_8306.cpp: In function 'long long int dijkstra(const std::vector<std::vector<std::pair<int, long long int> > >&, std::vector<int>&, std::vector<int>&)':
0_0_37746745_8306.cpp:40:17: error: no match for call to '(std::vector<bool>) (int&)'
if (vis(node)) continue;
^
0_0_37746745_8306.cpp: In function 'long long int findResult(const std::vector<std::vector<std::pair<int, long long int> > >&, const std::vector<int>&, int)':
0_0_37746745_8306.cpp:64:40: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<long long int>'
split(specialNodes, i, source, sink);
^
0_0_37746745_8306.cpp:16:6: note: in passing argument 3 of 'void split(const std::vector<int>&, int, std::vector<int>&, std::vector<int>&)'
void split(const vector<int> &specialNodes, int bit, vector<int> &source, vector<int> &sink)\
^
0_0_37746745_8306.cpp:66:56: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<long long int>'
result = min(result, dijkstra(edges, source, sink));
^
0_0_37746745_8306.cpp:27:11: note: in passing argument 2 of 'long long int dijkstra(const std::vector<std::vector<std::pair<int, long long int> > >&, std::vector<int>&, std::vector<int>&)'
long long dijkstra(const vector<vector<pair<int, long long> > > &edges, vector<int> &source,\
^
0_0_37746745_8306.cpp:67:56: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<long long int>'
result = min(result, dijkstra(edges, sink, source));
^
0_0_37746745_8306.cpp:27:11: note: in passing argument 2 of 'long long int dijkstra(const std::vector<std::vector<std::pair<int, long long int> > >&, std::vector<int>&, std::vector<int>&)'
long long dijkstra(const vector<vector<pair<int, long long> > > &edges, vector<int> &source,\
^
|