摘要: Yet Another Counting Problem 思路:假设a <= b。 x % a % b = x % a是显然成立的,那么只需要比较 x % a != x % b % a的情况就可。 通过手写 x % a 和 x % b % a的情况,发现我们只需要写出一个lcm(a,b)的表格(lc 阅读全文
posted @ 2020-04-27 17:20 SummerMingQAQ 阅读(268) 评论(0) 推荐(0) 编辑