Hackerrank Coprime Power Sum 题目大意:计算∑i=1m[i%s[j]!=0|∀s[j]∈S]iK\displaystyle \sum_{i=1}^m{[i\%s[j]!=0|\forall s[j]\in S]i^K},其中|S|=n,gcd(s[i],a[j])=1|i≠j|S|=n,gcd(s[i],s[j])=1|i\neq j 刷题 2024-01-21 33 点赞 0 评论 50 浏览