记录详情

Wrong Answer

foo.cc: In function 'void Output(int*, int)':
foo.cc:11:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0; i<n; i++)
  ^~~
foo.cc:13:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   cout<<endl;
   ^~~~
foo.cc: In function 'void MergeSubs(int*, int, int)':
foo.cc:50:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
foo.cc:56:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   select(a,i+1);
   ^~~~~~
foo.cc:56:9: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
   select(a,i+1);
   ~~~~~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
2021(四) 作业第二场:见面赛
语言
C++
递交时间
2021-10-31 13:25:19
评测时间
2021-10-31 13:25:19
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB