fork download
  1. #include <iostream>
  2. #include <math.h>
  3. //#include <string.h>
  4. using namespace std;
  5.  
  6. string f2(double a)
  7. {
  8. return to_string(a);
  9. }
  10.  
  11. int main() {
  12. // your code goes here
  13. cout<<sqrt(25);
  14. cout<<f2(2);
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5440KB
stdin
Standard input is empty
stdout
52.000000