记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:10:14: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   10 |     printf("%d%d,y1,y2,y3");
      |             ~^
      |              |
      |              int
foo.c:10:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   10 |     printf("%d%d,y1,y2,y3");
      |               ~^
      |                |
      |                int
foo.c:5:25: warning: variable 'y3' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                         ^~
foo.c:5:22: warning: variable 'y2' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                      ^~
foo.c:5:19: warning: variable 'y1' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                   ^~
foo.c:6:11: warning: 'x1' is used uninitialized [-Wuninitialized]
    6 |         y1=x1+x2;
      |         ~~^~~~~~
foo.c:6:11: warning: 'x2' is used uninitialized [-Wuninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1318122616-1318..., expect 10. 1ms 256.0 KiB
#2 Wrong Answer Read -1386158728-1386..., expect 10. 1ms 256.0 KiB
#3 Wrong Answer Read -1418987416-1418..., expect 3. 3ms 256.0 KiB
#4 Wrong Answer Read -1166419240-1166..., expect 200015. 2ms 256.0 KiB
#5 Wrong Answer Read -760319608-76031..., expect 1558563. 1ms 256.0 KiB

信息

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