运行 ID: 129667

Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
 include
 ^~~~~~~
 __has_include
Main.cc: In function ‘int ball(float, float)’:
Main.cc:6:1: error: ‘cout’ was not declared in this scope
 cout<>height;ball(height,1);
 ^~~
Main.cc:19:1: note: suggested alternative: ‘main’
 cin>>height;ball(height,1);
 ^~~
 main
Main.cc:19:27: error: expected ‘}’ at end of input
 cin>>height;ball(height,1);
                           ^
Main.cc: In function ‘int ball(float, float)’:
Main.cc:17:26: warning: control reaches end of non-void function [-Wreturn-type]
 } ball(height/2,turn+1); } int main() {
                          ^