摘要: 题目链接 首先设$a>b$,$a$红$b$蓝,那么对于$[1,\operatorname{lcm}(a,b)]$这个区间内来说,涂红色的格子数就为 $$\dfrac{\operatorname{lcm}(a,b)}{a}=\dfrac{a\times b}{\gcd(a,b)}\times \dfr 阅读全文
posted @ 2020-05-30 10:54 汉谡 阅读(167) 评论(0) 推荐(0)