Compile Error
foo.cc: In function 'int main()':
foo.cc:10:20: warning: format '%f' expects a matching 'double' argument [-Wformat=]
   10 |         printf("%.1f,d")
      |                 ~~~^
      |                    |
      |                    double
foo.cc:10:25: error: expected ';' before 'cout'
   10 |         printf("%.1f,d")
      |                         ^
      |                         ;
   11 |         cout<<d;
      |         ~~~~             
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1007 求平均值
 - 语言
 - C++
 - 递交时间
 - 2023-10-27 16:26:53
 - 评测时间
 - 2023-10-27 16:26:53
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes