QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#395880#6339. Cookiesahihi1234Compile Error//C++143.7kb2024-04-21 23:56:032024-04-21 23:56:03

详细

answer.code:80:11: error: redefinition of ‘const int N’
   80 | const int N=15e3+10, M=3010;
      |           ^
answer.code:5:11: note: ‘const int N’ previously defined here
    5 | const int N=15e3+10, M=3010;
      |           ^
answer.code:80:22: error: redefinition of ‘const int M’
   80 | const int N=15e3+10, M=3010;
      |                      ^
answer.code:5:22: note: ‘const int M’ previously defined here
    5 | const int N=15e3+10, M=3010;
      |                      ^
answer.code:81:5: error: redefinition of ‘int f [15010][3010]’
   81 | int f[N][M];
      |     ^
answer.code:6:5: note: ‘int f [15010][3010]’ previously declared here
    6 | int f[N][M];
      |     ^
answer.code:82:5: error: redefinition of ‘int n’
   82 | int n, m, a[N], b[N];
      |     ^
answer.code:7:5: note: ‘int n’ previously declared here
    7 | int n, m, a[N], b[N];
      |     ^
answer.code:82:8: error: redefinition of ‘int m’
   82 | int n, m, a[N], b[N];
      |        ^
answer.code:7:8: note: ‘int m’ previously declared here
    7 | int n, m, a[N], b[N];
      |        ^
answer.code:82:11: error: redefinition of ‘int a [15010]’
   82 | int n, m, a[N], b[N];
      |           ^
answer.code:7:11: note: ‘int a [15010]’ previously declared here
    7 | int n, m, a[N], b[N];
      |           ^
answer.code:82:17: error: redefinition of ‘int b [15010]’
   82 | int n, m, a[N], b[N];
      |                 ^
answer.code:7:17: note: ‘int b [15010]’ previously declared here
    7 | int n, m, a[N], b[N];
      |                 ^
answer.code:84:9: error: redefinition of ‘int32_t main()’
   84 | int32_t main(){
      |         ^~~~
answer.code:9:9: note: ‘int32_t main()’ previously defined here
    9 | int32_t main(){
      |         ^~~~