#include<bits/stdc++.h>
using namespace std;
int main()
{
//freopen("in.txt","r",stdin);
//freopen("out.txt","w",stdout);
vector<long double> v;
long double n;
while(cin>>n) v.push_back(n);
for(int i=v.size()-1; i>=0; i--) cout<<setprecision(4)<<fixed<<sqrtl(v[i])<<endl;
return 0;
}
using namespace std;
int main()
{
//freopen("in.txt","r",stdin);
//freopen("out.txt","w",stdout);
vector<long double> v;
long double n;
while(cin>>n) v.push_back(n);
for(int i=v.size()-1; i>=0; i--) cout<<setprecision(4)<<fixed<<sqrtl(v[i])<<endl;
return 0;
}
No comments:
Post a Comment