Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:13: warning: format '%f' expects argument of type 'float*', but argument 2 has type 'double' [-Wformat=]
5 | scanf("%f",m);
| ~^ ~
| | |
| | double
| float*
/in/foo.cc:5:10: warning: 'm' is used uninitialized [-Wuninitialized]
5 | scanf("%f",m);
| ~~~~~^~~~~~~~
/in/foo.cc:4:11: note: 'm' was declared here
4 | float m,n;
| ^
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2026-11-13 20:38:10
- 评测时间
- 2026-11-13 20:38:10
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 284.0 KiB