QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#571708#6385. SwordskheiramihoubCompile Error//C++20891b2024-09-18 04:35:552024-09-18 04:35:55

詳細信息

answer.code: In function ‘int main()’:
answer.code:29:20: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
   29 |         if (syoufa.second > max_defense) {
      |                    ^~~~~~
answer.code:35:13: error: ‘useful_syf’ was not declared in this scope; did you mean ‘useful_syoufa’?
   35 |     cout << useful_syf << endl;
      |             ^~~~~~~~~~
      |             useful_syoufa