0_0_26467534_27508.cpp: In function 'int Dijikstra()':
0_0_26467534_27508.cpp:70:34: error: no matching function for call to 'std::priority_queue<Point>::push(int&, int&, int&)'
q.push(dis[v],v,edge[i].value);
^
0_0_26467534_27508.cpp:70:34: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
from 0_0_26467534_27508.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:499:7: note: void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = Point; _Sequence = std::vector<Point, std::allocator<Point> >; _Compare = std::less<Point>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = Point]
push(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:499:7: note: candidate expects 1 argument, 3 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:507:7: note: void std::priority_queue<_Tp, _Sequence, _Compare>::push(std::priority_queue<_Tp, _Sequence, _Compare>::value_type&&) [with _Tp = Point; _Sequence = std::vector<Point, std::allocator<Point> >; _Compare = std::less<Point>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = Point]
push(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:507:7: note: candidate expects 1 argument, 3 provided
|