记录详情

Accepted

/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 Accepted 4ms 4.363 MiB
#2 Accepted 5ms 4.355 MiB
#3 Accepted 4ms 4.34 MiB
#4 Accepted 4ms 4.25 MiB
#5 Accepted 4ms 4.375 MiB
#6 Accepted 4ms 4.332 MiB
#7 Accepted 4ms 4.371 MiB
#8 Accepted 475ms 18.578 MiB
#9 Accepted 517ms 14.719 MiB
#10 Accepted 527ms 14.711 MiB

信息

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