#include #include #include #include #include using namespace std; using namespace atcoder; using mint=modint998244353; typedef long long ll; using Graph=vector>; typedef pair PLL; typedef vector VI; typedef vector VC; typedef vector VD; typedef vector VL; typedef vector VS; typedef vector VP; typedef vector VLL; typedef vector VB; const static ll inf = 1000000000; const static ll mod = 1000000007; template bool chmax(T& a, const T& b) { if (a < b) { a = b; return true; } return false; } template bool chmin(T& a, const T& b) { if (a > b) { a = b; return true; } return false; } #define YesNo(bool) if(bool) cout<<"Yes"<=0; i--) #define rept(i,m,n) for(ll i=m; i> #define vvs vector> #define elif else if int main() { ll n; cin>>n; VD a(n),b(n); rep(i,n) cin>>a[i]>>b[i]; VD num; rep(i,n) num.pb(sqrt(a[i])+sqrt(b[i])); for(auto a:num) cout<