记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:21: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  for(int i=1;i+(1<<j-1)<=n;i++) 
                    ~^~
/in/foo.cc:18:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 4.25 MiB
#2 Wrong Answer 3ms 4.336 MiB
#3 Wrong Answer 3ms 4.336 MiB
#4 Accepted 3ms 4.359 MiB
#5 Wrong Answer 4ms 4.375 MiB
#6 Accepted 2ms 4.25 MiB
#7 Wrong Answer 4ms 4.367 MiB
#8 Wrong Answer 556ms 16.625 MiB
#9 Wrong Answer 583ms 16.734 MiB
#10 Wrong Answer 546ms 16.73 MiB

信息

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