QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294339#4826. Find the Partsucup-team1400#Compile Error//C++208.4kb2023-12-30 12:38:432023-12-30 12:38:44

詳細信息

answer.code:173:11: error: redefinition of ‘const int INF’
  173 | const int INF = 0x3f3f3f3f;
      |           ^~~
answer.code:9:11: note: ‘const int INF’ previously defined here
    9 | const int INF = 0x3f3f3f3f;
      |           ^~~
answer.code:174:10: error: redefinition of ‘const ll LINF’
  174 | const ll LINF = 0x3f3f3f3f3f3f3f3fLL;
      |          ^~~~
answer.code:10:10: note: ‘const ll LINF’ previously defined here
   10 | const ll LINF = 0x3f3f3f3f3f3f3f3fLL;
      |          ^~~~
answer.code:176:11: error: redefinition of ‘const int MAX’
  176 | const int MAX = 409600 - 4;
      |           ^~~
answer.code:12:11: note: ‘const int MAX’ previously defined here
   12 | const int MAX = 409600 - 4;
      |           ^~~
answer.code:179:9: error: redefinition of ‘std::mt19937 rng’
  179 | mt19937 rng(7123939);
      |         ^~~
answer.code:15:9: note: ‘std::mt19937 rng’ previously declared here
   15 | mt19937 rng(7123939);
      |         ^~~
answer.code:181:5: error: redefinition of ‘int main()’
  181 | int main() {
      |     ^~~~
answer.code:17:5: note: ‘int main()’ previously defined here
   17 | int main() {
      |     ^~~~