QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#44789#4561. Catfish FarmMaMengQiCompile Error//C++176.8kb2022-08-21 16:43:272022-08-21 16:43:29

詳細信息

answer.code: In function ‘long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
answer.code:173:11: error: redeclaration of ‘int j’
  173 |       int j = fish[i-1].size()-1;
      |           ^
answer.code:113:11: note: ‘int j’ previously declared here
  113 |       int j = 0;
      |           ^