0_0_15561647_13124.cpp: In function 'int main()': 0_0_15561647_13124.cpp:53:27: error: 'sort' was not declared in this scope sort(val+1,val+n+1); ^