记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:9: warning: array subscript 101 is outside array bounds of 'int[100]' [-Warray-bounds]
    9 |         scanf("%d/n", &a[i]);
      |         ^~~~~~~~~~~~~~~~~~~~
foo.c:6:13: note: at offset 404 into object 'a' of size 400
    6 |         int a[100],i;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 31. 1ms 204.0 KiB
#2 Wrong Answer Read 1, expect 51. 1ms 284.0 KiB
#3 Wrong Answer Read 1, expect 2. 2ms 284.0 KiB
#4 Wrong Answer Read 1, expect 3. 2ms 284.0 KiB
#5 Wrong Answer Read 1, expect 5. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1058 G7-1 统计不及格人数
语言
C
递交时间
2023-11-05 15:19:43
评测时间
2023-11-05 15:19:43
评测机
分数
0
总耗时
10ms
峰值内存
284.0 KiB