GCD

template<typename T> T gcd(T a, T b) { while (b^=a^=b^=a%=b) ; return a; }
posted @ 2023-01-20 00:03  申朋鸟飞  阅读(9)  评论(0编辑  收藏  举报