Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- #define ll long long
- #define pb push_back
- #define pi acos(-1)
- int main()
- {
- int t;
- cin >> t;
- while(t--) {
- double x;
- cin >> x;
- double ans = 2.0 * sqrt(x/(3-(pi/2)));
- cout << fixed << setprecision(10) << ans << endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment