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 1.4013e-45,0, expect 356.40. 1ms 252.0 KiB
#2 Wrong Answer Read 2.8026e-45,0, expect 460.35. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1010 门票总价
语言
C++
递交时间
2022-10-06 09:00:47
评测时间
2022-10-06 09:00:50
评测机
分数
0
总耗时
3ms
峰值内存
256.0 KiB