0_0_17349915_4623.cpp: In function 'int main()': 0_0_17349915_4623.cpp:38:31: error: 'sort' was not declared in this scope sort(nodes,nodes+n,cmp); ^