Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++)
     ^~~
/in/foo.cc:49:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  cout<<max({dp[n][n-1][1],dp[n][n-1][2],dp[n][n-1][3]})<<endl;
  ^~~~
/in/foo.cc:49:53: warning: array subscript is above array bounds [-Warray-bounds]
  cout<<max({dp[n][n-1][1],dp[n][n-1][2],dp[n][n-1][3]})<<endl;
                                         ~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 9ms 12.0 MiB
#2 Wrong Answer 9ms 11.945 MiB
#3 Wrong Answer 9ms 11.941 MiB
#4 Wrong Answer 9ms 12.02 MiB

信息

递交者
类型
递交
题目
P2576 纸牌游戏7级2 2023.12
比赛
2024.8.6暑期高级2班练习
语言
C++
递交时间
2024-08-07 12:31:18
评测时间
2024-08-07 12:31:18
评测机
分数
0
总耗时
37ms
峰值内存
12.02 MiB