Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:31: error: expected ')' before 'y2'
14 | printf("%0.1f" y2);
| ~ ^~~
| )
/in/foo.cc:14:29: warning: format '%f' expects a matching 'double' argument [-Wformat=]
14 | printf("%0.1f" y2);
| ~~~~^
| |
| double
/in/foo.cc:16:31: error: expected ')' before 'y1'
16 | printf("%0.1f" y1);
| ~ ^~~
| )
/in/foo.cc:16:29: warning: format '%f' expects a matching 'double' argument [-Wformat=]
16 | printf("%0.1f" y1);
| ~~~~^
| |
| double
信息
- 递交者
- 类型
- 递交
- 题目
- P3008 小杨的爱心快递 202512GESP1级T1
- 比赛
- 2026.1.10初级班结业测试
- 语言
- C++
- 递交时间
- 2026-01-10 13:43:21
- 评测时间
- 2026-01-10 13:43:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes