#include using namespace std; #ifdef LOCAL #include "debug.hpp" #else #define debug(...) 1 #endif const double PI = acos(-1); int main() { ios::sync_with_stdio(false); cin.tie(nullptr); double R, K; cin >> R >> K; auto f = [&] (double x) -> double { return (x * sqrt(R * R - x * x) + R * R * asin(x / R)) / 2.0; }; double fr = f(-R); for (int i = 1; i <= K; i++) { double x = (R * R * PI) / 2.0 / (K + 1) * (double) i; double left = -R, right = R; int cnt = 100; while (cnt--) { double mid = (left + right) / 2; if (f(mid) - fr <= x) { left = mid; } else{ right = mid; } } cout << fixed << setprecision(15) << left << '\n'; } }