QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#215076#5607. Cribbage On SteroidsZhaoZiLongCompile Error//C++171.4kb2023-10-15 02:59:122023-10-15 02:59:12

詳細信息

answer.code: In function ‘long long int calculateScore(const std::vector<std::__cxx11::basic_string<char> >&)’:
answer.code:27:22: error: no match for ‘operator+=’ (operand types are ‘std::vector<int>’ and ‘std::vector<int>’)
   27 |     score += try15(n += vector<int>{0, 0, 0, n[10] + n[11] + n[12]}, 0, 15);
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~