Compile Error
foo.c:1:1: warning: data definition has no type or storage class 1 | r=input("input a number please") | ^ foo.c:1:1: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] foo.c:1:3: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration] 1 | r=input("input a number please") | ^~~~~ foo.c:1:3: error: initializer element is not constant foo.c:2:9: error: expected ',' or ';' before 'v' 2 | v=4/3*PI*r*r*r | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2023-05-29 16:36:01
- 评测时间
- 2023-05-29 16:36:01
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes