#include int test_if_have_value(int a[100],int n,int value) { for (int i = 0; i < n; i++) { if (a[i] == value)return 1; } return 0; } int main() { int a[100],b[100],c[100],n1,n2,n_=0,temp; scanf("%d",&n1); for(int i=0;ic[j]){ temp=c[i]; c[i]=c[j]; c[j]=temp; } } } for(int i=0;i