摘要: Orac and LCM CodeForces - 1349A 方法一: 先说结论: gcd(a, lcm(b, c)) = lcm(gcd(a, b), gcd(a, c)) lcm(a, gcd(b, c)) = gcd(lcm(a, b), lcm(a, c)) 这就是传说中的分配律嘛,爱了爱 阅读全文
posted @ 2020-07-28 17:43 funforever 阅读(168) 评论(0) 推荐(0) 编辑