摘要:
A. Treasure Hunt 点击查看代码 void solve() { int x, y, a; std::cin >> x >> y >> a; a %= (x + y); if (a < x) { std::cout << "NO\n"; } else { std::cout << "YE 阅读全文
posted @ 2025-03-24 22:53
maburb
阅读(286)
评论(0)
推荐(2)
摘要:
A. Diagonal Walking 模拟 点击查看代码 void solve() { int n; std::cin >> n; std::string s; std::cin >> s; int ans = n; for (int i = 0; i + 1 < n; ++ i) { if (( 阅读全文
posted @ 2025-03-24 15:26
maburb
阅读(13)
评论(0)
推荐(0)

浙公网安备 33010602011771号