QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#500852#9156. 百万富翁zzzcrCompile Error//C++142.3kb2024-08-01 22:01:092024-08-01 22:01:13

詳細信息

answer.code: In function ‘int richest(int, int, int)’:
answer.code:63:16: error: cannot convert ‘std::vector<int>’ to ‘int’ in assignment
   63 |         s = ask(x, y);
      |             ~~~^~~~~~
      |                |
      |                std::vector<int>
answer.code:71:16: error: cannot convert ‘std::vector<int>’ to ‘int’ in assignment
   71 |         s = ask(x, y);
      |             ~~~^~~~~~
      |                |
      |                std::vector<int>
answer.code:79:16: error: cannot convert ‘std::vector<int>’ to ‘int’ in assignment
   79 |         s = ask(x, y);
      |             ~~~^~~~~~
      |                |
      |                std::vector<int>
answer.code:86:16: error: cannot convert ‘std::vector<int>’ to ‘int’ in assignment
   86 |         s = ask(x, y);
      |             ~~~^~~~~~
      |                |
      |                std::vector<int>