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