QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#45226#4561. Catfish FarmZhangYiDeCompile Error//C++173.7kb2022-08-22 15:12:492022-08-22 15:13:51

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];
      |                                     ^~~~