#include #define rep(i,n) for(int i=0;i> a >> b; if (a < b) swap(a, b); printf("%.10f", min(sqrt(a*a - b*b), sqrt(a*a + b*b))); }