|
|
back to boardShow all messages Hide all messages#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { long long n,i=0,c=0; double a[100001]; while(cin>>n){ a[i]=sqrt(n); i++; c++; } for(int i=c-1; i>=0; i--) cout<<fixed<<setprecision(4)<<a[i]<<endl; system("pause"); return 0; } The size of the input stream does not exceed 256K |
|
|