#include <iostream>
#include <cmath>
using namespace std;
int main() {
double x1 = 1, x2 = 2, y1 = 1, y2 = 2, w;
w = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2));
cout << w;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCkgewoJZG91YmxlIHgxID0gMSwgeDIgPSAyLCB5MSA9IDEsIHkyID0gMiwgdzsKCXcgPSBzcXJ0KHBvdyh4MiAtIHgxLCAyKSArIHBvdyh5MiAtIHkxLCAyKSk7Cgljb3V0IDw8IHc7Cn0K