|
|
back to boardI don't know what is the matter? #include <iostream> #include <math.h> using namespace std; int main() { long long int a[200],n; freopen("input.txt","rt",stdin); freopen("output.txt","wt",stdout); int i=0; while(!feof(stdin)) { i++; cin>>a[i]; } for(int j=1;j<=i;j++) printf("%.4f\n",sqrt(a[i-j+1]+0.0)); return 0; } |
|
|