Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:17: warning: too many arguments for format [-Wformat-extra-args]
  printf("&.1f",c);
                 ^
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%f",&f);
  ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read &.1f, expect 6.1. 1ms 384.0 KiB
#2 Wrong Answer Read &.1f, expect 32.6. 1ms 396.0 KiB

信息

递交者
类型
递交
题目
P1008 温度转换
语言
C++
递交时间
2021-11-13 10:24:17
评测时间
2021-11-13 10:24:17
评测机
分数
0
总耗时
3ms
峰值内存
396.0 KiB