/in/foo.cc: In function 'std::vector<int> power(const std::vector<int>&, int, int)':
/in/foo.cc:27:37: error: cannot convert 'std::vector<int>' to 'int' for argument '2' to 'std::vector<int> Mul(const std::vector<int>&, int, int)'
return Mul(Mul(temp, temp, K), base, K);
^
/in/foo.cc: In function 'std::__cxx11::string to_string(const std::vector<int>&, int)':
/in/foo.cc:43:41: error: 'reverse' was not declared in this scope
reverse(result.begin(), result.end());
^
/in/foo.cc: In function 'std::__cxx11::string convertToBaseK(const std::vector<int>&, int)':
/in/foo.cc:65:41: error: 'reverse' was not declared in this scope
reverse(result.begin(), result.end());
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:80:31: error: 'reverse' was not declared in this scope
reverse(A.begin(), A.end()); // 使A的高位在数组的后部
^