摘要:
A - Is it rated? 点击查看代码 void solve() { int R, x; std::cin >> R >> x; int l = 1600, r = 2999; if (x == 2) { l = 1200, r = 2399; } if (R >= l && R <= r) 阅读全文
posted @ 2025-05-10 22:00
maburb
阅读(57)
评论(0)
推荐(0)
摘要:
A - The Fool 题意:求\(\sum_{i=1}^{n} \lfloor \frac{n}{i} \rfloor\)的奇偶性。 裸的整除分块。 点击查看代码 void solve() { int t; std::cin >> t; for (int tcase = 1; tcase <= 阅读全文
posted @ 2025-05-10 13:20
maburb
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号