练习专区

今天的一小步就是明天的一大步
Problem 1933 求集合的差A-B
Accepted: 7   Total Submit: 20
Time Limit: 1000ms   Memory Limit: 30720KB
Description
给你一个集合A和另一个集合B,求A-B
Input
先输入一个整数n表示集合A的元素个数,然后输入n个整数表示集合A的各个元素,接着输入一个整数m表示另一个集合元素个数,接着输入m个整数,表示另一个集合的各个元素。
Output
求集合A-B
Sample Input
4
2 4 9 10
2
1 2
Sample Output
{4,9,10}
Hint
提交     返回