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