/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  for(int i=1;i<=n-(1<<j-1);i++)
                       ~^~
/in/foo.cc:19:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 472.0 KiB
#2 Accepted 2ms 896.0 KiB
#3 Accepted 13ms 3.348 MiB
#4 Accepted 9ms 3.625 MiB
#5 Accepted 22ms 6.25 MiB
#6 Accepted 45ms 12.75 MiB
#7 Accepted 75ms 15.012 MiB
#8 Accepted 74ms 15.371 MiB
#9 Accepted 130ms 23.211 MiB
#10 Accepted 94ms 23.25 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2018-10-03 14:17:19
评测时间
2018-10-03 14:17:19
评测机
分数
100
总耗时
470ms
峰值内存
23.25 MiB