Wrong Answer

foo.cc: In function 'int main()':
foo.cc:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=0;i<n;i++)
     ^~~
foo.cc:27:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  int max=LongSub(a,n);
  ^~~
foo.cc: In function 'int LongSub(int*, int)':
foo.cc:17:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return max;
         ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 396.0 KiB
#2 Accepted 2ms 392.0 KiB
#3 Wrong Answer Read 59, expect 60. 4ms 420.0 KiB
#4 Wrong Answer Read 63, expect 79. 10ms 440.0 KiB
#5 Wrong Answer Read 112, expect 131. 50ms 488.0 KiB
#6 Wrong Answer Read 151, expect 186. 182ms 556.0 KiB
#7 Wrong Answer Read 209, expect 262. 633ms 672.0 KiB
#8 Wrong Answer Read 54, expect 186. 187ms 728.0 KiB
#9 Wrong Answer Read 100, expect 185. 169ms 744.0 KiB
#10 Wrong Answer Read 150, expect 182. 165ms 732.0 KiB

信息

递交者
类型
递交
题目
P1088 4-2 最长递增子序列
语言
C++
递交时间
2021-04-07 09:05:05
评测时间
2021-04-07 09:05:05
评测机
分数
20
总耗时
1408ms
峰值内存
744.0 KiB