#include <iostream>
#include <cmath>

struct Point {
    int x, y;
};

double distance(const Point& p1, const Point& p2) {
    return std::sqrt(std::pow(p2.x - p1.x, 2) + std::pow(p2.y - p1.y, 2));
}

int main() {
    Point p1 = {1, 2};
    Point p2 = {4, 6};
    std::cout << "Distance: " << distance(p1, p2) << std::endl;
    return 0;
}

