#include "bits/stdc++.h" #define REP(i,n,N) for(ll i=(n); i<(N); i++) #define RREP(i,n,N) for(ll i=(N-1); i>=n; i--) #define CK(n,a,b) (a)<=(n)&&(n)<(b) #define ALL(v) (v).begin(),(v).end() #define p(s) cout<<(s)<>a>>b){ if(a>b) swap(a,b); double c; if(a==b) c=b*b+a*a; else c=b*b-a*a; printf("%.7lf\n", sqrt(c)); } return 0; }