Advertisement
Guest User

Timus 1001

a guest
Feb 22nd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3.  
  4. double b[100000000];
  5.  
  6. int main()
  7. {
  8. long long a, i=0, j;
  9.  
  10. while(scanf("%lld", &a)!=EOF){
  11. b[i]=sqrt(a);
  12. i++;
  13. }
  14. for(j=i-1;j>=0;j--)
  15. printf("%.4lf\n", b[j]);
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement