Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- using namespace std;
- /*
- *
- */
- int main(int argc, char** argv) {
- double a[262144];
- long long n=0;
- int i=0;
- //freopen("input.txt", "r",stdin);
- //freopen("output.txt", "w",stdout);
- for(i=0;!feof(stdin);i++)
- {
- if(scanf("%I64d", &n) == -1) break;
- long double q=n;
- a[i]=(double)sqrtl(q);
- }
- i--;
- for(;i>-1;i--)
- {
- printf("%.4f\n",a[i]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement