fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int foo () {
  5. long long int a;
  6. while(scanf ("%lld",&a)!=EOF){
  7. foo ();
  8. printf ("%.4f\n",sqrt ((double)a));
  9. return 0;
  10. }
  11. }
  12.  
  13. int main () {
  14. foo ();
  15. return 0;
  16. }
Success #stdin #stdout 0s 2172KB
stdin
 1427  0   

   876652098643267843 
5276538
stdout
2297.0716
936297014.1164
0.0000
37.7757