Wrong Answer
/in/foo.c: In function 'main':
/in/foo.c:5:18: warning: format '%lf' expects a matching 'double *' argument [-Wformat=]
5 | scanf("%lf,&fahrenheit");
| ~~^
| |
| double *
/in/foo.c:6:41: warning: 'fahrenheit' is used uninitialized [-Wuninitialized]
6 | double celsius=5.0/9*(fahrenheit-32);
| ~~~~~~~~~~~^~~~
/in/foo.c:4:16: note: 'fahrenheit' was declared here
4 | double fahrenheit;
| ^~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-29 16:33:53
- 评测时间
- 2025-11-29 16:33:53
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 284.0 KiB