Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
308115 | 123456 | 【C8-5】计算集合的并 | Python3 | 通过 | 100 | 68 MS | 5868 KB | 209 | 2025-01-05 16:24:14 |
n,m=map(int,input().split()) l1=map(int,input().split()) l2=map(int,input().split()) a=set() b=set() for i in l1: a.add(i) for i in l2: b.add(i) c=a|b for i in c: print("%d " % i,end="")