Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:11:5: error: 'vector' was not declared in this scope vector<vector<long long>> dp(n + 1, vector<long long>(m + 1, 0)); ^~~~~~ /in/foo.cc:11:19: error: expected primary-expression before 'long' vector<vector<long long>> dp(n + 1, vector<long long>(m + 1, 0)); ^~~~ /in/foo.cc:12:5: error: 'dp' was not declared in this scope dp[1][1] = 2; // 单行单列有 2 种放法:放老虎或不放 ^~
信息
- 递交者
- 类型
- 自测
- 题目
- P1565 Problem 1C. 一山不容二虎
- 语言
- C++
- 递交时间
- 2024-04-20 17:22:57
- 评测时间
- 2024-04-20 17:22:57
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes