记录详情

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 4ms 6.367 MiB
#2 Accepted 6ms 8.25 MiB
#3 Accepted 4ms 6.25 MiB
#4 Wrong Answer 5ms 6.355 MiB
#5 Wrong Answer 7ms 8.25 MiB
#6 Wrong Answer 4ms 6.34 MiB
#7 Wrong Answer 4ms 6.34 MiB
#8 Time Exceeded ≥1046ms ≥63.93 MiB
#9 Time Exceeded ≥1056ms ≥63.871 MiB
#10 Time Exceeded ≥1059ms ≥63.965 MiB

信息

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