#include #include #include signed main(){ double p,q; std::cin>>p>>q; double loweq = 1.0; double high = 1e8; int loop = 1000; while(loop--){ double n = (loweq+high)/2.0; if(n*n