Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
3210 | D班-罗炜翰 | 班级就餐 | C++ | 运行超时 | 0 | 1000 MS | 256 KB | 511 | 2024-12-22 16:47:02 |
using namespace std; int main() { int a,b,c,d = 0,e = 0,f = 0; cin>>a; while (a - 1) { cin>>b; while (b) { if (b >= 3) { d = b / 3; } else if (b >= 2) { e = b / 2; } else if (b >= 1) { f = b / 1; } c = d * 90 + e * 70 + f * 40; } a--; } }
11
75
11
17
46
57
57
14
36
43
54
51
2250
340
520
1390
1710
1710
430
1080
1300
1620
1530
Runtime Error:Killed
exit code: 0, checker exit code: 0