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