0_0_36574607_14171.cpp: In function 'int main()': 0_0_36574607_14171.cpp:13:15: error: 'sort' was not declared in this scope sort(a+1,a+n); ^