记录详情

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 Accepted 6ms 8.371 MiB
#2 Accepted 5ms 8.344 MiB
#3 Accepted 6ms 8.25 MiB
#4 Accepted 5ms 8.348 MiB
#5 Accepted 3ms 8.371 MiB
#6 Accepted 6ms 8.355 MiB
#7 Accepted 5ms 8.25 MiB
#8 Time Exceeded ≥1001ms ≥63.992 MiB
#9 Time Exceeded ≥1040ms ≥63.836 MiB
#10 Time Exceeded ≥1037ms ≥63.91 MiB

信息

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