Compile Error
/in/foo.c: In function 'main': /in/foo.c:5:5: warning: statement with no effect [-Wunused-value] printf a,b; ^~~~~~ /in/foo.c:5:12: error: expected ';' before 'a' printf a,b; ^ /in/foo.c:6:17: error: 'a' undeclared (first use in this function) scanf("%f %f",&a,&b); ^ /in/foo.c:6:17: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:6:20: error: 'b' undeclared (first use in this function) scanf("%f %f",&a,&b); ^
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-10-26 08:23:48
- 评测时间
- 2024-10-26 08:23:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes