记录详情

Wrong Answer

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

信息

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