#include<stdio.h>
main(){
int x; int y;
scanf("%d %d",&x,&y);
int t; int arr1[x]; int arr2[y];
int a;int b;
for(int i=0; i<x; i++){
scanf("%d", &a);
arr1[i] = a;
}
for(int i=0; i<y; i++){
scanf("%d", &b);
arr2[i] = b;
}
int flag=1;
for(int i=0; i<x; i++){
for(int j=0; j<=y;j ++){
if(arr1[i] == arr2[j]){
t = x+y;
flag = 0;
break;
}
}
}
if(flag == 0){
printf("%d\n",t);
}else{
printf("no one\n");
}
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/317650.html
標籤:其他
上一篇:wifi中斷攻擊
