// I SELL YOU...! #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using P = pair; using TP = tuple; void init_io(){ cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(18); } signed main(){ init_io(); ll p,q; double l=1,r=1e18,h; cin >> p >> q; for(int i=0;i<100000;i++){ h = (l+r)/2; if(h*h<=p+q*h*log2(h)){ l = h; }else{ r = h; } } cout << l << endl; }