运行 ID: 34417

Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
 include
 ^~~~~~~
 __has_include
Main.cc:4:1: error: ‘string’ does not name a type; did you mean ‘strfry’?
 string s;
 ^~~~~~
 strfry
Main.cc: In function ‘int main()’:
Main.cc:7:2: error: ‘cin’ was not declared in this scope
  cin>>s>>n;
  ^~~
Main.cc:7:2: note: suggested alternative: ‘main’
  cin>>s>>n;
  ^~~
  main
Main.cc:7:7: error: ‘s’ was not declared in this scope
  cin>>s>>n;
       ^
Main.cc:25:3: error: ‘cout’ was not declared in this scope
   cout<