记录详情

Runtime Error

foo.c: In function 'MergeSubs':
foo.c:42:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   42 |         else
      |         ^~~~
foo.c:46:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   46 |                 for(k=0;k<i-1;k++)
      |                 ^~~
foo.c:39:13: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized]
   39 |         int i,j,k,temp;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Wrong Answer Read 1, expect 2. 1ms 284.0 KiB
#3 Wrong Answer Read 1, expect 2. 2ms 284.0 KiB
#4 Wrong Answer Read 1, expect 2. 2ms 284.0 KiB
#5 Runtime Error Segmentation fault 2ms 412.0 KiB

信息

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