#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef vector vi; typedef vector vvi; #define all(c) (c).begin(), (c).end() #define loop(i,a,b) for(ll i=a; iDUMP &operator,(const T&t){if(this->tellp())*this<<", ";*this<>x>>y; double l=0,r=100000; rep(i,100){ double m=(l+r)/2; if(m*m/4 < x*x+y*y) l = m; else r = m; } l+=1e-9; cout << ceil(l) << endl; }