记录详情

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:42:7: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
    sum+=str[j];
    ~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -137089570, expect 77383182. 8ms 284.0 KiB
#2 Wrong Answer Read 1486880222, expect 77383182. 8ms 308.0 KiB
#3 Wrong Answer Read -1277813282, expect 77383182. 7ms 276.0 KiB
#4 Wrong Answer Read -226976290, expect 77383182. 6ms 284.0 KiB
#5 Wrong Answer Read 1680068062, expect 77383182. 6ms 280.0 KiB
#6 Wrong Answer Read 1796782862, expect 77366078. 7ms 280.0 KiB
#7 Wrong Answer Read -1974740210, expect 77366078. 7ms 280.0 KiB
#8 Wrong Answer Read -1370495733, expect 64073019. 5ms 276.0 KiB
#9 Wrong Answer Read 1984939275, expect 64073019. 5ms 288.0 KiB
#10 Wrong Answer Read -470952693, expect 64073019. 5ms 284.0 KiB

信息

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