0 0的案例RE
查看原帖
0 0的案例RE
1338429
WatermelonFrost楼主2024/6/12 10:52
m, n = input().split()
x = list(map(int, input().split()))
if m == 0 or n == 0:
    print(0)
y_set = set(map(int, input().split()))
ans_list = [str(i) for i in x if i in y_set]
ans = ' '.join(ans_list)
print(ans)

90 分,这一个案例是输入 0 0 然后RE,大佬救我QWQ

2024/6/12 10:52
加载中...