运行 ID: 7675

Main.cc: In function ‘int main()’:
Main.cc:6:19: error: ‘n’ was not declared in this scope
     double a=sprt(n);
                   ^
Main.cc:6:14: error: ‘sprt’ was not declared in this scope
     double a=sprt(n);
              ^~~~
Main.cc:6:14: note: suggested alternative: ‘qsort’
     double a=sprt(n);
              ^~~~
              qsort
Main.cc:8:15: error: ‘floor’ was not declared in this scope
         cout<