/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                  ~^~
/in/foo.cc:2:21: note: in definition of macro 'max'
 #define max(x,y) (x>y?x:y)
                     ^
/in/foo.cc:11:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                  ~^~
/in/foo.cc:2:25: note: in definition of macro 'max'
 #define max(x,y) (x>y?x:y)
                         ^
# 状态 耗时 内存占用
#1 Accepted 2ms 2.207 MiB
#2 Accepted 2ms 616.0 KiB
#3 Accepted 3ms 2.215 MiB
#4 Accepted 8ms 4.352 MiB
#5 Accepted 15ms 5.152 MiB
#6 Accepted 26ms 8.746 MiB
#7 Accepted 32ms 10.945 MiB
#8 Accepted 35ms 12.797 MiB
#9 Accepted 54ms 16.324 MiB
#10 Accepted 53ms 16.242 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2019-07-11 10:35:56
评测时间
2019-07-11 10:35:56
评测机
分数
100
总耗时
234ms
峰值内存
16.324 MiB