Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'float*' [-Wformat=]
    6 |   scanf("%d,%d,%d",&x,&y,&z);
      |          ~^        ~~
      |           |        |
      |           int*     float*
      |          %e
foo.cc:6:14: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'float*' [-Wformat=]
    6 |   scanf("%d,%d,%d",&x,&y,&z);
      |             ~^        ~~
      |              |        |
      |              int*     float*
      |             %e
foo.cc:6:17: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'float*' [-Wformat=]
    6 |   scanf("%d,%d,%d",&x,&y,&z);
      |                ~^        ~~
      |                 |        |
      |                 int*     float*
      |                %e
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.0, expect 356.40. 4ms 332.0 KiB
#2 Wrong Answer Read 0.0, expect 460.35. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1010 门票总价
语言
C++
递交时间
2023-11-11 11:25:17
评测时间
2023-11-11 11:25:17
评测机
分数
0
总耗时
8ms
峰值内存
412.0 KiB