Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:25: warning: self-comparison always evaluates to true [-Wtautological-compare]
    if(a[i]<=a[j] && b[i]<=b[i])dp[i][0]=max(dp[j][0]+1,dp[i][0]);
                     ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Wrong Answer 1ms 356.0 KiB
#4 Wrong Answer 1ms 404.0 KiB
#5 Wrong Answer 3ms 428.0 KiB
#6 Wrong Answer 2ms 376.0 KiB
#7 Accepted 2ms 372.0 KiB
#8 Wrong Answer 2ms 344.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 3ms 376.0 KiB

信息

递交者
类型
递交
题目
P2698 加工小木棒
比赛
2024.8.3暑期高级2班练习 记忆化搜索改DP
语言
C++
递交时间
2024-08-03 21:28:57
评测时间
2024-08-03 21:28:57
评测机
分数
50
总耗时
21ms
峰值内存
428.0 KiB