文章
37
粉丝
98
获赞
69
访问
30.2k
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
int main()
{
int n;
int a[100];
while (cin >> n) {
int flag[105] = { 0 };//标记是否存在
for (int i = 0; i < n; i++) {
cin >> a[i];
flag[a[i]] = 1;
}
int m;
int b[105];
cin >> m;
for (int i = 0; i < m; i++) {
cin >> b[i];
}
for (int i = 0; i < m; i++) {
&nbs...
登录后发布评论
暂无评论,来抢沙发