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