Problem B
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; double c = sqrt(a * a + b * b); cout << fixed << setprecision(6) << c; return 0; }
Leave a Comment
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; double c = sqrt(a * a + b * b); cout << fixed << setprecision(6) << c; return 0; }