template <typename T>
struct Coor
{
    T x, y;
};

template<typename T>
void Algorithm(Coor<T> &coor)
{
    func(coor.x);
    func(coor.y);
}

template<typename T>
void func(T &axie)
{
    axie += 5566;
}

int main()
{
    Coor<int> coor;
    Algorithm(coor);
    return 0;
}
