记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:76:9: warning: 'OutputArr' accessing 4 bytes in a region of size 0 [-Wstringop-overflow=]
   76 |         OutputArr(fml, nf);
      |         ^~~~~~~~~~~~~~~~~~
foo.c:76:9: note: referencing argument 1 of type 'int[0]'
foo.c:23:6: note: in a call to function 'OutputArr'
   23 | void OutputArr(int a[], int n)
      |      ^~~~~~~~~
foo.c:83:51: warning: array subscript f is outside array bounds of 'int[<Ub510>]' [-Warray-bounds]
   83 |                         if(group[i].parents == fml[f])
      |                                                ~~~^~~
foo.c:72:13: note: while referencing 'fml.15'
   72 |         int fml[nf];
      |             ^~~
foo.c:75:28: warning: array subscript nf is outside array bounds of 'int[<Ub510>]' [-Warray-bounds]
   75 |                         fml[nf++] = group[i].parents;
      |                         ~~~^~~~~~
foo.c:72:13: note: while referencing 'fml.15'
   72 |         int fml[nf];
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 284.0 KiB
#2 Wrong Answer User output longer than standard answer. 3ms 284.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 284.0 KiB
#4 Wrong Answer User output longer than standard answer. 4ms 284.0 KiB
#5 Wrong Answer User output longer than standard answer. 14ms 668.0 KiB

信息

递交者
类型
递交
题目
3 有两个孩子的家庭个数
语言
C
递交时间
2023-12-20 15:32:10
评测时间
2023-12-20 15:32:10
评测机
分数
0
总耗时
28ms
峰值内存
668.0 KiB