记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:5:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long unsigned int *' [-Wformat=]
  scanf("%d %d",&x1,&x2);
          ^
foo.c:5:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long unsigned int *' [-Wformat=]
  scanf("%d %d",&x1,&x2);
             ^
foo.c:9:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  printf("%d\n%d\n%d\n",y1,y2,y3);
           ^
foo.c:9:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  printf("%d\n%d\n%d\n",y1,y2,y3);
               ^
foo.c:9:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
  printf("%d\n%d\n%d\n",y1,y2,y3);
                   ^

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 1ms 2.145 MiB
#2 Wrong Answer 1ms 160.0 KiB
#3 Accepted 1ms 172.0 KiB
#4 Wrong Answer 1ms 180.0 KiB
#5 Wrong Answer 1ms 168.0 KiB

信息

递交者
类型
递交
题目
P1078 xf1-1两数和、积、余
语言
C
递交时间
2020-02-03 19:42:02
评测时间
2020-02-03 19:42:02
评测机
分数
100
总耗时
5ms
峰值内存
2.145 MiB