#include #include #include #include #include #include #include #include #include #include #include //#include using namespace std; using ll = long long; double calc(double r,double l){ double x = sqrt(r*r-l*l); double y = l; double theta = atan2(y,x); theta = acos(-1)/2 - theta; double now = r* r; now *=theta; now -= x * l; return now; } int main(){ ll r,k; cin>>r>>k; vector ans; double all = acos(-1) * r * r; double want = all / (double)(k+1); double use = 0; double last = r; //cout<=0) now = now - use; else now = all - use - now; if(now>want) left = mid; else right = mid; } // cout<