fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. double x;
  6. while(cin >> x) {
  7. cout <<fixed << sqrt(x) << endl;
  8.  
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5280KB
stdin
 1427  0   

   876652098643267843 
5276538
stdout
37.775654
0.000000
936297014.116390
2297.071614