记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:2: error: 'v' undeclared (first use in this function)
    4 | {v=4/3*pl*r*r*r
      |  ^
foo.c:4:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:8: error: 'pl' undeclared (first use in this function)
    4 | {v=4/3*pl*r*r*r
      |        ^~
foo.c:4:11: error: 'r' undeclared (first use in this function)
    4 | {v=4/3*pl*r*r*r
      |           ^
foo.c:4:16: error: expected ';' before 'printf'
    4 | {v=4/3*pl*r*r*r
      |                ^
      |                ;
    5 |     printf("hello, world\n");
      |     ~~~~~~      
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2023秋季必修习题1
语言
C
递交时间
2023-09-27 21:00:41
评测时间
2023-09-27 21:01:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes