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