0_0_18874162_20031.cpp: In function 'int main(int, char**)': 0_0_18874162_20031.cpp:55:19: error: 'sort' was not declared in this scope sort(p+1,p+n,cmp); ^