Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:39: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
    9 |         int a,b;cin>>a>>b;printf("%.9lf",a/b);
      |                                   ~~~~^  ~~~
      |                                       |   |
      |                                       |   int
      |                                       double
      |                                   %.9d
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P2314 1.3.5:计算分数的浮点数值
 - 语言
 - C++
 - 递交时间
 - 2025-10-08 16:44:56
 - 评测时间
 - 2025-10-08 16:44:56
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 7ms
 - 峰值内存
 - 532.0 KiB