摘要: A - ABC400 Party 点击查看代码 void solve() { int n; std::cin >> n; if (400 % n) { std::cout << -1 << "\n"; } else { std::cout << 400 / n << "\n"; } } B - Su 阅读全文
posted @ 2025-04-05 21:40 maburb 阅读(310) 评论(0) 推荐(0)
摘要: A. Vasya And Password 分类讨论 点击查看代码 void solve() { std::string s; std::cin >> s; int f1 = 0, f2 = 0, f3 = 0; for (auto & c : s) { f1 += c >= 'a' && c <= 阅读全文
posted @ 2025-04-05 15:15 maburb 阅读(19) 评论(0) 推荐(0)