运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
508926 | doremy | 1055 - 平均数 | 编译错误 | 0 | 0 MS | 0 KB | C | 169 | 1年前 |
Main.c: In function ‘main’:
Main.c:8:12: error: expected identifier or ‘(’ before ‘=’ token
8 | double = (a+b+c) / 3;
| ^
Main.c:9:21: error: expected expression before ‘double’
9 | printf("%.3lf", double);
| ^~~~~~
Main.c:6:12: warning: unused variable ‘ave’ [-Wunused-variable]
6 | double ave = 0;
| ^~~