| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 114305 | 黄梓皓 | 14小鱼游泳 | C++ | Wrong Answer | 0 MS | 276 KB | 287 | 2025-03-22 11:44:58 |
#include<bits/stdc++.h> using namespace std; int main() { int x, n; cin >> x >> n; int count1 = 0; int count2 = 0; for (int i = 0; i < n; i++) { if ((x + i) % 7 == 6 || (x + i) % 7 == 7) { count2++; }else{ count1++; } } cout << count1 * 250; return 0; }
------Input------
5 52
------Answer-----
9000
------Your output-----
11000