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