Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'float*' [-Wformat=]
    9 |         scanf("%d,%d",&a,&b);
      |                ~^     ~~
      |                 |     |
      |                 int*  float*
      |                %e
foo.cc:9:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'float*' [-Wformat=]
    9 |         scanf("%d,%d",&a,&b);
      |                   ~^     ~~
      |                    |     |
      |                    int*  float*
      |                   %e
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 7.00649e-44,6.02..., expect 50,43. 2ms 256.0 KiB
#2 Wrong Answer Read 2.8026e-44,1.401..., expect 20,10. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1009 数据交换
语言
C++
递交时间
2022-10-06 16:21:54
评测时间
2022-10-06 16:21:54
评测机
分数
0
总耗时
5ms
峰值内存
256.0 KiB