记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:5:28: warning: unused variable 'sum2' [-Wunused-variable]
  int n,sum=0,avg,num=0,i,j,sum2=0;
                            ^~~~
foo.c:5:26: warning: unused variable 'j' [-Wunused-variable]
  int n,sum=0,avg,num=0,i,j,sum2=0;
                          ^
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["2","9"] 1ms 256.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["22","38"] 1ms 256.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["47","78"] 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1164 均分纸牌
语言
C
递交时间
2021-01-24 16:59:37
评测时间
2021-01-24 16:59:37
评测机
分数
20
总耗时
5ms
峰值内存
256.0 KiB