/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:51: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
             if (dp[i][j - 1].val < dp[i + (1 << j - 1)][j - 1].val) {
                                                 ~~^~~
/in/foo.cc:38:47: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 dp[i][j].val = dp[i + (1 << j - 1)][j - 1].val;
                                             ~~^~~
/in/foo.cc:39:48: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 dp[i][j].indx = dp[i + (1 << j - 1)][j - 1].indx;
                                              ~~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Accepted 36ms 664.0 KiB
#3 Accepted 46ms 21.898 MiB
#4 Accepted 7ms 2.555 MiB
#5 Accepted 329ms 111.43 MiB
#6 Accepted 53ms 19.082 MiB
#7 Accepted 68ms 23.141 MiB
#8 Accepted 188ms 25.645 MiB
#9 Accepted 419ms 111.43 MiB
#10 Accepted 446ms 111.473 MiB

信息

递交者
类型
递交
题目
P1733 超级钢琴
语言
C++
递交时间
2021-05-04 15:15:06
评测时间
2021-05-04 15:15:06
评测机
分数
100
总耗时
1596ms
峰值内存
111.473 MiB