摘要: 2025多校冲刺CSP模拟赛7 不是你怎么还有加赛?ys A. gcd&xor (gcdxor) 转化为外层枚举 \(\gcd\),内层枚举 \(i,j\),打表即可。可以发现规律,是调和级数做法,时间复杂度大约 \(O(1.5 \times 10^8)\)。 Code: #include<bits 阅读全文
posted @ 2025-10-22 14:32 Wy_x 阅读(52) 评论(2) 推荐(1)