0_0_17158642_20556.cpp: In function 'int main()': 0_0_17158642_20556.cpp:18:19: error: 'sort' was not declared in this scope sort(a,a+n); ^