Problem B
unknown
c_cpp
2 years ago
214 B
7
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;
}
Editor is loading...
Leave a Comment