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:7:5: error: 'vector' was not declared in this scope
7 | vector<int>v;
| ^~~~~~
foo.cc:7:12: error: expected primary-expression before 'int'
7 | vector<int>v;
| ^~~
foo.cc:11:9: error: 'v' was not declared in this scope
11 | v.push_back(x);
| ^
foo.cc:13:10: error: 'v' was not declared in this scope
13 | sort(v.begin(),v.end());
| ^
foo.cc:13:5: error: 'sort' was not declared in this scope; did you mean 'short'?
13 | sort(v.begin(),v.end());
| ^~~~
| short
foo.cc:19:13: error: 'cout' was not declared in this scope
19 | cout << v[i]<< endl;
| ^~~~
foo.cc:19:28: error: 'endl' was not declared in this scope
19 | cout << v[i]<< endl;
| ^~~~