Problem1903--C二级辅导-求同存异

1903: C二级辅导-求同存异

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 1
[Status] [Submit] [Creator:]

Description

输入两个数组(数组元素个数6和8),输出在两个数组中都出现的元素(如a[6]={2,3,4,5,6,7},b[8]={3,5,7,9,11,13,15,19},则输出357)。

Sample Input Copy

2 3 4 5 6 7
3 5 7 9 11 13 15 19

Sample Output Copy

3
5
7

Source/Category