1450: 函数进行集合运算(减法)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:3

Description

规定数组A和数组B的减法:A-B=数组A中有的元素但数组B中没有的元素+数组B中有的元素但数组A中没有的元素。请用函数实现数组减法。

Input

两个长度为五的数组,且两个数组有不相同的元素

Output

两个数组的差,每个元素用空格隔开。

Sample Input Copy

1 2 3 4 5
4 5 6 7 8

Sample Output Copy

1 2 3 6 7 8