记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:22: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   for(int i=1;i+(1<<j-1)<=n;i++)
                     ~^~
/in/foo.cc:24:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    Dp[i][j]=max(Dp[i][j-1],Dp[i+(1<<j-1)][j-1]);
                                     ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 8.375 MiB
#2 Accepted 8ms 8.25 MiB
#3 Accepted 7ms 8.375 MiB
#4 Wrong Answer 7ms 8.352 MiB
#5 Wrong Answer 6ms 8.375 MiB
#6 Wrong Answer 6ms 8.34 MiB
#7 Wrong Answer 7ms 8.25 MiB
#8 Time Exceeded ≥1103ms ≥63.926 MiB
#9 Time Exceeded ≥1100ms ≥63.27 MiB
#10 Time Exceeded ≥1002ms ≥63.977 MiB

信息

递交者
类型
递交
题目
数列区间最大值
题目数据
下载
语言
C++
递交时间
2018-09-12 22:00:42
评测时间
2018-09-12 22:00:42
评测机
分数
20
总耗时
≥3253ms
峰值内存
≥63.977 MiB