Problem B

mail@pastecode.io avatar
unknown
c_cpp
a month ago
214 B
3
Indexable
Never
#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