0_0_23006469_2858.cpp: In function 'int main()': 0_0_23006469_2858.cpp:31:30: error: 'sort' was not declared in this scope sort(edge+1, edge+1+cnt, cmp); ^