Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 228 Bytes

File metadata and controls

24 lines (12 loc) · 228 Bytes

Practice-Problem #0

for 24th coding contest

Write a program to find common and distinct elements from two arrays and print it.

Test case

Input

6

1 2 5 6 7 9

7

3 4 5 7 8 10 11

Output

5 7

1 2 3 4 6 8 9 10 11