记录详情

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 -165676969, expect 77383182. 7ms 288.0 KiB
#2 Wrong Answer Read 1949833303, expect 77383182. 7ms 292.0 KiB
#3 Wrong Answer Read -94410665, expect 77383182. 7ms 288.0 KiB
#4 Wrong Answer Read 1016387671, expect 77383182. 6ms 324.0 KiB
#5 Wrong Answer Read -1612904361, expect 77383182. 6ms 292.0 KiB
#6 Wrong Answer Read 217146026, expect 77366078. 7ms 288.0 KiB
#7 Wrong Answer Read -1343991126, expect 77366078. 7ms 296.0 KiB
#8 Wrong Answer Read 1527769811, expect 64073019. 5ms 256.0 KiB
#9 Wrong Answer Read -1049564461, expect 64073019. 5ms 296.0 KiB
#10 Wrong Answer Read -1408574765, expect 64073019. 5ms 292.0 KiB

信息

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