记录详情

Wrong Answer

/in/foo.cc: In function 'void MergeSubs(int*, int)':
/in/foo.cc:44:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]<a[k]&&a[j]!=-1||a[k]==-1)
       ~~~~~~~~~^~~~~~~~~~
/in/foo.cc:52:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(a[j]<a[k]&&a[j]!=-1||a[k]==-1)
      ~~~~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
2021苏青奥赛集训营(春季结业赛)
语言
C++
递交时间
2021-06-06 13:43:48
评测时间
2021-06-06 13:43:48
评测机
分数
20
总耗时
9ms
峰值内存
224.0 KiB