foo.cc:1:1: error: 'include' does not name a type
1 | include<bits/stdc++.h>
| ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:6:5: error: 'cin' was not declared in this scope
6 | cin>>n;
| ^~~
foo.cc:9:5: error: 'sort' was not declared in this scope; did you mean 'short'?
9 | sort(a+1,a+n+1);
| ^~~~
| short
foo.cc:10:5: error: 'cout' was not declared in this scope
10 | cout<<a[1]<<" "<<a[n];
| ^~~~
foo.cc:11:14: error: expected '}' at end of input
11 | return 0;
| ^
foo.cc:4:1: note: to match this '{'
4 | {
| ^
[Hydro](https://hydro.ac)提供评测服务