记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d %d",&x1,&x2);
          ^
/in/foo.c:8:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
  scanf("%d %d",&x1,&x2);
             ^
/in/foo.c:12:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d\n%d\n%d\n",sum,pro,rem);
           ^
/in/foo.c:12:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  printf("%d\n%d\n%d\n",sum,pro,rem);
               ^
/in/foo.c:12:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
  printf("%d\n%d\n%d\n",sum,pro,rem);
                   ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
自测
题目
P1078 xf1-1两数和、积、余
语言
C
递交时间
2023-12-21 16:52:09
评测时间
2023-12-21 16:52:09
评测机
分数
0
总耗时
1ms
峰值内存
204.0 KiB