摘要: A. Dice Rolling 点击查看代码 void solve() { int x; std::cin >> x; if (x & 1) { std::cout << 1 + (x - 3) / 2 << "\n"; } else { std::cout << x / 2 << "\n"; } 阅读全文
posted @ 2025-04-10 16:31 maburb 阅读(24) 评论(0) 推荐(0)