记录详情

Runtime Error

foo.cc: In function 'void FindAsc(int*, int)':
foo.cc:47:13: warning: argument to variable-length array is too large [-Wvla-larger-than=]
   47 |         int b[k][100];//定义二维数组 将 子序列存入二维数组
      |             ^
foo.cc:47:13: note: limit is 9223372036854775807 bytes, but argument is 18446744073709551216
foo.cc:44:13: warning: 'length' may be used uninitialized [-Wmaybe-uninitialized]
   44 |         int length,i,j;
      |             ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 460.0 KiB
#2 Runtime Error Segmentation fault 4ms 540.0 KiB
#3 Runtime Error Segmentation fault 4ms 540.0 KiB
#4 Runtime Error Segmentation fault 4ms 540.0 KiB
#5 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
2023 程序设计与竞赛(作业5:从数组看集体)
语言
C++
递交时间
2023-10-21 17:13:43
评测时间
2023-10-21 17:13:43
评测机
分数
0
总耗时
21ms
峰值内存
540.0 KiB