运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
610954 | lijunyu | 1005 - 球的体积和表面积 | 编译错误 | 0 | 0 MS | 0 KB | C | 467 | 4个月前 |
Main.c: In function 'calculateVolume':
Main.c:17:26: error: 'M_PI' undeclared (first use in this function)
17 | return (4.0 / 3.0) * M_PI * pow(radius, 3);
| ^~~~
Main.c:17:26: note: each undeclared identifier is reported only once for each function it appears in
Main.c:18:1: warning: control reaches end of non-void function [-Wreturn-type]
18 | }
| ^