记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:17: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d%d, &a, &b");
      |                ~^
      |                 |
      |                 int *
foo.c:7:19: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d%d, &a, &b");
      |                  ~^
      |                   |
      |                   int *
foo.c:14:18: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                 ~^
      |                  |
      |                  int
foo.c:14:22: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                     ~^
      |                      |
      |                      int
foo.c:14:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                         ~^
      |                          |
      |                          int
foo.c:12:13: warning: variable 'z' set but not used [-Wunused-but-set-variable]
   12 |         int z = 0;
      |             ^
foo.c:10:13: warning: variable 'y' set but not used [-Wunused-but-set-variable]
   10 |         int y = 0;
      |             ^
foo.c:8:13: warning: variable 'x' set but not used [-Wunused-but-set-variable]
    8 |         int x = 0;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 10. 1ms 256.0 KiB
#2 Wrong Answer 0a1,2 > 10 > 25 2,4d3 < 1466 1ms 256.0 KiB
#3 Wrong Answer Read 0, expect 3. 1ms 256.0 KiB
#4 Wrong Answer Read 0, expect 200015. 1ms 256.0 KiB
#5 Wrong Answer Read 0, expect 1558563. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1078 xf1-1两数和、积、余
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 09:12:20
评测时间
2022-08-27 09:12:20
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB