Problem B

 avatar
unknown
c_cpp
a year ago
214 B
3
Indexable
#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