0_0_36969197_32695.cpp: In function 'int main()': 0_0_36969197_32695.cpp:29:21: error: 'sort' was not declared in this scope sort(a+1,a+1+n,cmp); ^