Compiler output
prog.cpp: In constructor 'Node::Node(std::pair<int, int>, int, lli)':
prog.cpp:29:13: warning: 'Node::dist' will be initialized after [-Wreorder]
lli dist;
^
prog.cpp:27:13: warning: 'int Node::indx' [-Wreorder]
int indx;
^
prog.cpp:30:9: warning: when initialized here [-Wreorder]
Node(pair<int, int> n, int indx, lli dist) : n(n), dist(dist), indx(indx) {}
^
prog.cpp: At global scope:
prog.cpp:36:22: warning: unused parameter 's' [-Wunused-parameter]
lli dijkstra(lli s, int t) {
^
prog.cpp: In function 'int main()':
prog.cpp:64:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < keyboard[i].size(); k++) {
^