记录详情

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:14:7: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
    sum+=a[i];
    ~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 12, expect 13. 0ms 256.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2021-11-18 13:35:57
评测时间
2021-11-18 13:35:57
评测机
分数
0
总耗时
0ms
峰值内存
256.0 KiB