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