QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#472177#4928. Game With NumbersHuangHanShengCompile Error//C++17678b2024-07-11 14:52:372024-07-11 14:52:38

详细

answer.code: In function ‘int solve(long long int, std::vector<long long int>)’:
answer.code:19:42: error: could not convert ‘p’ from ‘vector<int>’ to ‘vector<long long int>’
   19 |         if(dep%2) return min(solve(dep+1,p),solve(dep+1,q));
      |                                          ^
      |                                          |
      |                                          vector<int>
answer.code:19:57: error: could not convert ‘q’ from ‘vector<int>’ to ‘vector<long long int>’
   19 |         if(dep%2) return min(solve(dep+1,p),solve(dep+1,q));
      |                                                         ^
      |                                                         |
      |                                                         vector<int>
answer.code:20:37: error: could not convert ‘p’ from ‘vector<int>’ to ‘vector<long long int>’
   20 |         else return max(solve(dep+1,p),solve(dep+1,q));
      |                                     ^
      |                                     |
      |                                     vector<int>
answer.code:20:52: error: could not convert ‘q’ from ‘vector<int>’ to ‘vector<long long int>’
   20 |         else return max(solve(dep+1,p),solve(dep+1,q));
      |                                                    ^
      |                                                    |
      |                                                    vector<int>