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