0_0_36306801_1912.cpp: In function 'int main()': 0_0_36306801_1912.cpp:65:25: error: 'sort' was not declared in this scope sort(p+1,p+cnt+1,cmp); ^