#include using namespace std; double pi = 3.14159265; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); double R; int K; cin >> R >> K; double all = R*R*pi; vectorans; for(int i = 0; i < K/2; i++) { double l = 0,r = R; for(int j = 0; j < 100; j++) { double mid = (l+r)/2; double tmp = 0; double a = sqrt(R*R-mid*mid); double b = pi-atan2(mid,a)*2; tmp += R*R*b/2; tmp -= a*mid; if(tmp >= all/(K+1)*(i+1)) { l = mid; } else { r = mid; } } ans.push_back(l); ans.push_back(-l); } if(K%2) ans.push_back(0); sort(ans.begin(),ans.end()); for(auto i:ans) { cout << fixed << setprecision(18) << i << "\n"; } }