Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107441 | 王子毅 | 14小鱼游泳 | C++ | Accepted | 1 MS | 272 KB | 335 | 2025-01-17 19:03:46 |
#include <iostream> using namespace std; int main() { int x, n; cin >> x >> n; int days = 0; while (n > 0) { if (x >= 1 && x <= 5) { days++; } x = (x % 7) + 1; n--; } int total = days * 250; cout << total << endl; return 0; }