foo.cc:1:1: error: 'include' does not name a type
1 | include <iostream>
| ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:8:5: error: 'cin' was not declared in this scope
8 | cin.getline(s, 100001);
| ^~~
foo.cc:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include <cstring>
+++ |+#include <iostream>
4 | using namespace std;
foo.cc:26:26: error: 'cout' was not declared in this scope
26 | if(i != imin)cout<<s[i];
| ^~~~
foo.cc:26:26: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
[Hydro](https://hydro.ac)提供评测服务