Compile Error
foo.cc:5:13: error: expected ']' before ';' token
5 | #define N 50;
| ^
foo.cc:6:8: note: in expansion of macro 'N'
6 | int dp[N][N];
| ^
foo.cc:6:9: error: expected unqualified-id before ']' token
6 | int dp[N][N];
| ^
foo.cc:6:12: error: expected unqualified-id before ']' token
6 | int dp[N][N];
| ^
foo.cc: In function 'int main()':
foo.cc:15:3: error: 'dp' was not declared in this scope
15 | dp[1][1]=1;
| ^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1339 走方格 [2020年蓝桥杯A组第一场]
- 比赛
- 2022春季 荣誉练习赛2(2020蓝桥A组省赛重温)
- 语言
- C++
- 递交时间
- 2022-03-26 21:27:19
- 评测时间
- 2022-03-26 21:27:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes