|
|
back to boardinput taken in while loop, sqrt is calculated with 9 point precision then also WA. #include<bits/stdc++.h> using namespace std; int main() { unsigned long long int n; while(cin >> n) { cout << fixed << setprecision(9) << sqrt(n) << "\n"; } return 0; } |
|
|