0_0_20119185_25826.cpp: In function 'int kruscal()': 0_0_20119185_25826.cpp:48:24: error: 'sort' was not declared in this scope sort(G.begin(),G.end()); ^