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;
}
dGVtcGxhdGUgPHR5cGVuYW1lIFQ+CnN0cnVjdCBDb29yCnsKICAgIFQgeCwgeTsKfTsKCnRlbXBsYXRlPHR5cGVuYW1lIFQ+CnZvaWQgQWxnb3JpdGhtKENvb3I8VD4gJmNvb3IpCnsKICAgIGZ1bmMoY29vci54KTsKICAgIGZ1bmMoY29vci55KTsKfQoKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kdm9pZCBmdW5jKFQgJmF4aWUpCnsKICAgIGF4aWUgKz0gNTU2NjsKfQoKaW50IG1haW4oKQp7CiAgICBDb29yPGludD4gY29vcjsKICAgIEFsZ29yaXRobShjb29yKTsKICAgIHJldHVybiAwOwp9Cg==