记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:27:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%d%d",&p,&q);
          ^
/in/foo.c:27:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%d%d",&p,&q);
            ^
/in/foo.c:31:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
                                    ^
/in/foo.c:31:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
   for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
                                       ^
/in/foo.c:31:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
   for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
                                          ^
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 220.0 KiB
#2 Accepted 0ms 232.0 KiB
#3 Wrong Answer 2ms 224.0 KiB
#4 Wrong Answer 0ms 228.0 KiB
#5 Wrong Answer 0ms 212.0 KiB

信息

递交者
类型
递交
题目
15-2编程题
语言
C
递交时间
2019-07-24 13:02:01
评测时间
2019-07-24 13:02:01
评测机
分数
20
总耗时
5ms
峰值内存
232.0 KiB