/ XMU_ACM /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&c);
          ^
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d %d",&a,&b);
          ^
/in/foo.c:7:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
  scanf("%d %d",&a,&b);
             ^
/in/foo.c:8:16: warning: statement with no effect [-Wunused-value]
   for(i=0;i++;i<c) scanf("%d",&d[i]);
               ~^~
/in/foo.c:8:28: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
   for(i=0;i++;i<c) scanf("%d",&d[i]);
                            ^
/in/foo.c:9:16: warning: statement with no effect [-Wunused-value]
   for(i=0;i++;i<c) printf("%d",d[i]);
               ~^~
/in/foo.c:9:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   for(i=0;i++;i<c) printf("%d",d[i]);
                             ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 192.0 KiB
#2 Wrong Answer 0ms 204.0 KiB
#3 Wrong Answer 1ms 204.0 KiB
#4 Wrong Answer 1ms 200.0 KiB
#5 Wrong Answer 1ms 196.0 KiB
#6 Wrong Answer 1ms 204.0 KiB
#7 Wrong Answer 0ms 200.0 KiB
#8 Wrong Answer 0ms 200.0 KiB
#9 Wrong Answer 0ms 196.0 KiB
#10 Wrong Answer 0ms 204.0 KiB

信息

递交者
类型
递交
题目
P1002 夸夸群
语言
C
递交时间
2019-04-16 20:55:19
评测时间
2019-04-16 20:55:19
评测机
分数
0
总耗时
9ms
峰值内存
204.0 KiB