记录详情

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.367 MiB
#2 Accepted 4ms 8.359 MiB
#3 Accepted 5ms 8.363 MiB
#4 Wrong Answer 5ms 8.348 MiB
#5 Wrong Answer 9ms 8.25 MiB
#6 Wrong Answer 2ms 8.34 MiB
#7 Wrong Answer 7ms 8.344 MiB
#8 Time Exceeded ≥1000ms ≥63.875 MiB
#9 Time Exceeded ≥1000ms ≥63.977 MiB
#10 Time Exceeded ≥1007ms ≥63.984 MiB

信息

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