0_0_16210591_31299.cpp: In function 'int main()': 0_0_16210591_31299.cpp:64:33: error: 'sort' was not declared in this scope sort( node+1 , node+n+1 , cmp ); ^