#include <iostream>
#include <cmath>
using namespace std;
int main() {
cout << hypot(3.0f, 4.0f) << "\n";
cout << hypot(1.0, 1.0) << "\n";
cout << hypot(1.0, 10.0) << "\n";
return 0;
}