#include // #include #define rng(a) a.begin(),a.end() #define rrng(a) a.rbegin(),a.rend() #define INF 2000000000000000000 #define ll long long #define ull unsigned long long #define ld long double #define pll pair using namespace std; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> R >> K; ld S = R * R * PI; vector ans; for (ll i = 0; i < K / 2; ++i) { ld want_s = (i + 1) * S / (ld)(K + 1); ld l = 0, r = R; while (l + 0.0000001 <= r) { ld m = (l + r) / 2; ld half_sita = acosl(m / R); ld s = R * R * half_sita - m * sqrtl(R * R - m * m); if (s <= want_s) { r = m; } else { l = m; } } ans.push_back(r); ans.push_back(-r); } if (K % 2 == 1) { ans.push_back(0); } sort(rng(ans)); cout << fixed << setprecision(15); for (ll i = 0; i < ans.size(); ++i) { cout << ans.at(i) << "\n"; } }