/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    if(i + (1 << j - 1) > n) continue;
                 ~~^~~
/in/foo.cc:41:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    if(f[i][j-1] < f[i+(1<<j-1)][j-1])
                           ~^~
/in/foo.cc:43:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    else f[i][j] = f[i+(1<<j-1)][j-1], g[i][j] = g[i+(1<<j-1)][j-1];
                           ~^~
/in/foo.cc:43:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    else f[i][j] = f[i+(1<<j-1)][j-1], g[i][j] = g[i+(1<<j-1)][j-1];
                                                         ~^~
# 状态 耗时 内存占用
#1 Accepted 7ms 10.957 MiB
#2 Accepted 5ms 10.816 MiB
#3 Accepted 4ms 8.445 MiB
#4 Accepted 6ms 9.445 MiB
#5 Accepted 3ms 11.07 MiB
#6 Accepted 4ms 8.562 MiB
#7 Accepted 7ms 9.449 MiB
#8 Accepted 6ms 8.438 MiB
#9 Accepted 16ms 13.074 MiB
#10 Accepted 35ms 15.199 MiB

信息

递交者
类型
递交
题目
P1844 积木大赛
语言
C++
递交时间
2017-10-20 14:48:50
评测时间
2017-10-20 14:48:50
评测机
分数
100
总耗时
98ms
峰值内存
15.199 MiB