QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#244985#5414. Stop, Yesterday Please No Moreucup-team2383Compile Error//C++176.5kb2023-11-09 17:42:182023-11-09 17:42:19

詳細信息

answer.code:5: warning: "endl" redefined
    5 | #define endl '\n'
      | 
answer.code:3: note: this is the location of the previous definition
    3 | #define endl '\n'#include <bits/stdc++.h>
      | 
answer.code:132:11: error: redefinition of ‘const int INF’
  132 | const int INF = 0x3f3f3f3f;
      |           ^~~
answer.code:7:11: note: ‘const int INF’ previously defined here
    7 | const int INF = 0x3f3f3f3f;
      |           ^~~
answer.code:135:11: error: redefinition of ‘const int M’
  135 | const int M = 1010, N = M * 2;
      |           ^
answer.code:10:11: note: ‘const int M’ previously defined here
   10 | const int M = 1010, N = M * 2;
      |           ^
answer.code:135:21: error: redefinition of ‘const int N’
  135 | const int M = 1010, N = M * 2;
      |                     ^
answer.code:10:21: note: ‘const int N’ previously defined here
   10 | const int M = 1010, N = M * 2;
      |                     ^
answer.code:136:5: error: redefinition of ‘int s [1010][1010]’
  136 | int s[M][M];
      |     ^
answer.code:11:5: note: ‘int s [1010][1010]’ previously declared here
   11 | int s[M][M];
      |     ^
answer.code:137:6: error: redefinition of ‘void op(int, int, int, int)’
  137 | void op(int a, int b, int c, int d)
      |      ^~
answer.code:12:6: note: ‘void op(int, int, int, int)’ previously defined here
   12 | void op(int a, int b, int c, int d)
      |      ^~
answer.code:142:5: error: redefinition of ‘int main()’
  142 | int main()
      |     ^~~~
answer.code:18:5: note: ‘int main()’ previously defined here
   18 | int main()
      |     ^~~~