查找1 题解:
#include<iostream>
#include<map>
using namespace std;
int main() {
int n, m;
while (cin >> n) {
map<int, int>M;
int a[200], b[200];
for (int i = 1; i <= n; i++) {
int x;
cin >> x;
M[x]++;
}
cin >> m;
for (int j = 1; j <= m; j++) {
int x;
cin >> x;
if (M[x] == 0) {
 ...
登录后发布评论
暂无评论,来抢沙发