fork download
  1. #include <iostream>
  2. #include <cstdio>
  3. #include <cmath>
  4.  
  5. void reverse()
  6. {
  7. double x;
  8. if (scanf("%lf", &x) > 0)
  9. {
  10. reverse();
  11. printf("%.4f\n", sqrt(x));
  12. }
  13. }
  14.  
  15. int main()
  16. {
  17. reverse();
  18. return 0;
  19. }
Success #stdin #stdout 0s 3472KB
stdin
 1427  0   

   876652098643267843 
5276538
  
stdout
2297.0716
936297014.1164
0.0000
37.7757