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