Run id: 148760

Main.cc:5:1: error: 'usingnamespacestd' does not name a type
 usingnamespacestd;
 ^
Main.cc:6:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
 intmain(){
         ^
Main.cc: In function 'int intmain()':
Main.cc:7:5: error: 'doubleh' was not declared in this scope
     doubleh=100;
     ^
Main.cc:8:9: error: 'inti' was not declared in this scope
     for(inti=1;i<=10;i++){
         ^
Main.cc:8:16: error: 'i' was not declared in this scope
     for(inti=1;i<=10;i++){
                ^
Main.cc:9:9: error: 'h' was not declared in this scope
         h=h/2;
         ^
Main.cc:11:20: error: 'h' was not declared in this scope
     printf("%.6lf",h);
                    ^
Main.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^