#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define sz size() #define pb push_back #define mp make_pair #define fi first #define se second #define all(c) (c).begin(), (c).end() #define rep(i,a,b) for(ll i=(a);i<(b);++i) #define clr(a, b) memset((a), (b) ,sizeof(a)) #define ctos(d) string(1,d) #define print(x) cout<<#x<<" = "<>a>>b; double mn = pow(1000.5*1000.5+1000.5*1000.5,0.5); mn = min(mn,pow(a*a+b*b,0.5)); if(a!=b)mn = min(mn,pow(abs(a*a-b*b),0.5)); printf("%20.20f\n",mn); return 0; }