P2257 YY的GCD题解

· · 题解

P.S.为了方便阐释,下文中定义

1 &\text{如果 } n \text{ 是质数}\\ 0 &\text{otherwise} \end{cases}

分析