Codeforces Round 942 (Div. 2) 发表于 2024-05-01 更新于 2024-05-08 分类于 题解 阅读次数: 本文字数: 72 阅读时长 ≈ 1 分钟 Welcome to the real world. It sucks. You’re gonna love it. A. Contest Proposal 思路: 时间复杂度: B. Coin Games 思路: 时间复杂度: C. Permutation Counting 思路: 时间复杂度: 1 D1. Reverse Card (Easy Version) 思路: 时间复杂度: 12345678910void solve() { int n, m; std::cin >> n >> m; i64 ans = 0; for (int i = 1; i <= m; i++) { ans += (n + i) / i / i; } std::cout << ans - 1 << "\n";}