Compile Error
/in/foo.c: In function 'main':
/in/foo.c:6:23: error: expected ';' before 'if'
6 | scanf("%f",&x)
| ^
| ;
7 | if(x<0)
| ~~
/in/foo.c:5:17: warning: unused variable 'y' [-Wunused-variable]
5 | float x,y;
| ^
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-06 17:21:24
- 评测时间
- 2025-11-06 17:21:24
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes