摘要: A. King Keykhosrow's Mystery 上限是 \(lcm(a, b)\),直接枚举即可 #include <bits/stdc++.h> void solve() { int a, b; std::cin >> a >> b; int l = std::lcm(a, b); fo 阅读全文
posted @ 2024-12-01 03:35 Repeater11 阅读(51) 评论(0) 推荐(1) 编辑