QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#472304#4928. Game With NumbersHuangHanShengCompile Error//C++14696b2024-07-11 15:33:432024-07-11 15:33:44

詳細信息

answer.code: In function ‘long long int solve(long long int, std::vector<long long int>)’:
answer.code:18:42: error: cannot convert ‘std::vector<long long int>’ to ‘long long int’
   18 |         if (dep%2)      return min(solve(p,dep+1),solve(dep+1,q));
      |                                          ^
      |                                          |
      |                                          std::vector<long long int>
answer.code:6:27: note:   initializing argument 1 of ‘long long int solve(long long int, std::vector<long long int>)’
    6 | long long solve(long long dep,vector<long long >v){
      |                 ~~~~~~~~~~^~~