Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 C++ 中,是否可以将数组作为函数的输入。
很可能你可以用向量来完成这一切。
#include <vector> std::vector<int> function_name(const std::vector<int>& A, const std::vector<int>& B);