| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131705 | 李昱龙 | 05买水果 | C++ | Compile Error | 0 MS | 0 KB | 454 | 2025-10-01 09:28:36 |
#include <bits/stdc++.h> using namespace std; int main (){ double b = 5.0; double a = 8.0; double g = 12.0; double t = 39.0; double h = (b+a+g)/3.0; printf("%.3lf",h); int ab = (int)(t/a); double av = 39.0-ab*a; printf("%d",ab); printf("%.3lf",av); int gb = (int)(t/g); double gv = 39.0-gb*g; printf("%d",gb); printf("%.3lf",gv); int cb = (int)(t/b); double bv = 39.0-cb*g; printf("%d",cb); printf("%.3lf",bv);
Main.cc: In function 'int main()':
Main.cc:21:20: error: expected '}' at end of input
printf("%.3lf",bv);
^