Advertisement
Babul_420

uva problem 10286 Trouble with a Pentagon solution

Jul 13th, 2018
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. #define x 1.0673956817111818692592637626711
  3. using namespace std;
  4. int main()
  5. {
  6.     double a;
  7.     while(scanf("%lf", &a)!=EOF){
  8.         printf("%0.10lf\n",a*x);
  9.     }
  10.  
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement