0_0_18479934_23792.cpp: In function 'int main()': 0_0_18479934_23792.cpp:32:23: error: 'sort' was not declared in this scope sort(a,a+n,cmp); ^