Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
    7 |   printf("%d,%d",&b,&a);
      |           ~^     ~~
      |            |     |
      |            int   int*
      |           %n
foo.cc:7:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=]
    7 |   printf("%d,%d",&b,&a);
      |              ~^     ~~
      |               |     |
      |               int   int*
      |              %n
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1501974076,15019..., expect 50,43. 4ms 412.0 KiB
#2 Wrong Answer Read 957640476,957640472, expect 20,10. 5ms 412.0 KiB

信息

递交者
类型
递交
题目
P1009 数据交换
语言
C++
递交时间
2023-11-04 11:48:08
评测时间
2023-11-04 11:48:08
评测机
分数
0
总耗时
9ms
峰值内存
412.0 KiB