牛客华为机试HJ80
作者:互联网
1. 问题描述
2. Solution
import sys
if sys.platform != "linux":
sys.stdin = open("input/HJ80.txt")
def solve(m, m1, n, m2):
full_list = list(set(m1 + m2))
full_list.sort()
[print(x, end="") for x in full_list]
print()
while True:
try:
m, m1 = int(input().strip()), list(map(int, input().strip().split()))
n, m2 = int(input().strip()), list(map(int, input().strip().split()))
solve(m, m1, n, m2)
except:
break
标签:m2,int,strip,list,牛客,m1,机试,input,HJ80 来源: https://www.cnblogs.com/junstat/p/16177290.html