Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:17:18: error: 'dp' was not declared in this scope if(len == 1){dp[i][g] = 1;continue;} ^~ /in/foo.cc:19:6: error: 'dp' was not declared in this scope dp[i][g] = max(dp[i][g], dp[i][k] + dp[k][i] + pow(2,g-i-1)); ^~ /in/foo.cc:23:12: error: 'i' was not declared in this scope ans += a[i]; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1378 矩阵取数游戏
- 语言
- C++
- 递交时间
- 2024-08-19 15:57:31
- 评测时间
- 2024-08-19 15:57:31
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes