运行 ID: 36155

Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
 include
 ^~~~~~~
 __has_include
Main.cc:3:9: error: ‘string’ was not declared in this scope
 bool hw(string str){
         ^~~~~~
Main.cc:3:9: note: suggested alternative: ‘struct’
 bool hw(string str){
         ^~~~~~
         struct
Main.cc: In function ‘int main()’:
Main.cc:14:9: error: ‘to_string’ was not declared in this scope
   if(hw(to_string(i))==1){
         ^~~~~~~~~
Main.cc:14:21: error: ‘hw’ cannot be used as a function
   if(hw(to_string(i))==1){
                     ^
Main.cc:15:4: error: ‘cout’ was not declared in this scope
    cout<