0_0_21124180_24991.cpp: In function 'int main()': 0_0_21124180_24991.cpp:21:14: error: 'n' was not declared in this scope cin>>n; ^ 0_0_21124180_24991.cpp:28:19: error: 'sort' was not declared in this scope sort(p,p+n); ^