vivo提前批笔试题整理 寻找数组中不存在的元素 题目描述 A、B两个数组,要求输出A中存在而B中不存在的元素。 例如 代码实现 #include <iostream> #include <vector> #include <algorithm> using namespace std; void solution1(vector<int> a,vector<int> b) { int asize = a.size(); int bsize = b.siz…
vivo提前批笔试题整理 寻找数组中不存在的元素 题目描述 A、B两个数组,要求输出A中存在而B中不存在的元素。 例如 代码实现 #include <iostream> #include <vector> #include <algorithm> using namespace std; void solution1(vector<int> a,vector<int> b) { int asize = a.size(); int bsize = b.siz…