/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:74: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   19 |                  if(l > 0) dp[l][r] = dp[l - 1][r] + v[i][l] * (2 << len - 1);
      |                                                                      ~~~~^~~
foo.cc:20:94: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   20 |                  if(r > 0) dp[l][r] = max(dp[l][r], dp[l][r - 1] + v[i][m - r+1] * (2 << len - 1));
      |                                                                                          ~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 5ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Wrong Answer Read 29735416503056, expect 2927709180747665.... 3ms 384.0 KiB
#7 Wrong Answer Read 62916680186546, expect 3970733714429939.... 3ms 384.0 KiB
#8 Wrong Answer Read 225173348399414, expect 4513427246035203.... 8ms 512.0 KiB
#9 Wrong Answer Read 259694148114876, expect 1671732093886273.... 9ms 512.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2022-05-20 16:39:15
评测时间
2022-05-20 16:39:15
评测机
分数
60
总耗时
51ms
峰值内存
512.0 KiB