/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:48:62: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   48 |                         if(dp[i][j - 1].zhi < dp[i + (1 << j - 1)][j - 1].zhi)
      |                                                            ~~^~~
foo.cc:55:63: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   55 |                                 dp[i][j].zhi = dp[i + (1 << j - 1)][j - 1].zhi;
      |                                                             ~~^~~
foo.cc:56:62: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   56 |                                 dp[i][j].wz = dp[i + (1 << j - 1)][j - 1].wz;
      |                                                            ~~^~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 580.0 KiB
#2 Accepted 10ms 2.812 MiB
#3 Accepted 47ms 792.0 KiB
#4 Accepted 52ms 22.449 MiB
#5 Accepted 75ms 19.691 MiB
#6 Accepted 94ms 23.77 MiB
#7 Accepted 261ms 113.828 MiB
#8 Accepted 224ms 26.191 MiB
#9 Accepted 356ms 113.746 MiB
#10 Accepted 379ms 113.867 MiB

信息

递交者
类型
递交
题目
P1733 超级钢琴
语言
C++
递交时间
2024-07-05 13:47:49
评测时间
2024-07-05 13:47:49
评测机
分数
100
总耗时
1504ms
峰值内存
113.867 MiB