记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:12:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&str[i]);
    ^~~~~~~~~~~~~~~~~~~
foo.c:15:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d ",&str[i]);
   ^~~~~~~~~~~~~~~~~~~~
foo.c:45:5: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
  sum+=str[0];
  ~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1829343503, expect 77383182. 6ms 312.0 KiB
#2 Wrong Answer Read -1480732849, expect 77383182. 6ms 284.0 KiB
#3 Wrong Answer Read -1994183297, expect 77383182. 6ms 288.0 KiB
#4 Wrong Answer Read -1038106049, expect 77383182. 6ms 284.0 KiB
#5 Wrong Answer Read 1285522143, expect 77383182. 6ms 280.0 KiB
#6 Wrong Answer Read 1357246399, expect 77366078. 6ms 284.0 KiB
#7 Wrong Answer Read -1419645073, expect 77366078. 6ms 288.0 KiB
#8 Wrong Answer Read -1057485508, expect 64073019. 5ms 288.0 KiB
#9 Wrong Answer Read -468300580, expect 64073019. 6ms 284.0 KiB
#10 Wrong Answer Read -1989574500, expect 64073019. 5ms 288.0 KiB

信息

递交者
类型
递交
题目
我咽下一枚铁做的月亮
语言
C
递交时间
2021-09-08 14:52:14
评测时间
2021-09-08 14:52:14
评测机
分数
0
总耗时
62ms
峰值内存
312.0 KiB