QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#45226 | #4561. Catfish Farm | ZhangYiDe | Compile Error | / | / | C++17 | 3.7kb | 2022-08-22 15:12:49 | 2022-08-22 15:13:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:12:11: error: redefinition of ‘const int MAXN’ 12 | const int MAXN = 305;; | ^~~~ answer.code:9:11: note: ‘const int MAXN’ previously defined here 9 | const int MAXN = 305;; | ^~~~ answer.code:13:4: error: redefinition of ‘ll dp [305][305]’ 13 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~ answer.code:10:4: note: ‘ll dp [305][305]’ previously declared here 10 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~ answer.code:13:20: error: redefinition of ‘ll val [305][305]’ 13 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~~ answer.code:10:20: note: ‘ll val [305][305]’ previously declared here 10 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~~ answer.code:13:37: error: redefinition of ‘ll psum [305][305]’ 13 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~~~ answer.code:10:37: note: ‘ll psum [305][305]’ previously declared here 10 | ll dp[MAXN][MAXN], val[MAXN][MAXN], psum[MAXN][MAXN]; | ^~~~