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