Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.70 KB | None | 0 0
  1. #include <algorithm>
  2. #include <list>
  3. #include <iostream>
  4. #include <utility>
  5. #include <vector>
  6. #include <iomanip>
  7. using namespace std;
  8.  
  9. int main()
  10. {
  11.     int n;
  12.     cin >> n;
  13.     vector<pair<double, double> > ans = {
  14.             {0.0, 0.0},
  15.             {0.0, 0.0},
  16.             {0.0, 0.0},
  17.             {0.0, 0.0},
  18.             {0.0, 0.0},
  19.             {0.0, 0.0},
  20.             {0.0005574136008918618, 0.00179168657429527},
  21.             {0.0018115942028985507, 0.01254180602006689},
  22.             {0.0032431336779162865, 0.049588093066353936},
  23.             {0.004700372091676439, 0.14753724536333232},
  24.             {0.007259026252161263, 0.37179639582385576},
  25.             {0.012467903314585237, 0.834454447154676},
  26.             {0.023421824283313044, 1.695221725373832},
  27.             {0.048777394252895664, 3.1100681691440877},
  28.             {0.10087756689250833, 4.906509400098712},
  29.             {0.18611786819991155, 6.241394727227275},
  30.             {0.29880869792028764, 7.318774015503051},
  31.             {0.4261671458467797, 8.239836631713063},
  32.             {0.5547118785105055, 9.054110649076325},
  33.             {0.6734591495461061, 9.789232506623812},
  34.             {0.7751379055726881, 10.465476552433074},
  35.             {0.856199959460829, 11.098548190939495},
  36.             {0.9162685140946011, 11.700071667462971},
  37.             {0.9572649572649573, 12.27838827838828},
  38.             {0.9824175824175824, 12.83956043956044},
  39.             {0.9954212454212454, 13.388278388278389},
  40.             {1.0, 13.928571428571429},
  41.             {1.0, 14.464285714285714},
  42.             {1.0, 15.0}
  43.     };
  44.     for (int i = 0; i < 29; ++i)
  45.         cout << fixed << setprecision(12) << ans[i].first << ' ' << ans[i].second << '\n';
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement