arrow_forward
همه ارسالها
جزئیات ارسال کد#806
برای پسندیدن وارد شوید
1m, n = map(int, input().split())
2
3L = list(map(int,input().split()))
4l = list(map(int,input().split()))
5
6
7for i in l:
8 if i in L:
9 boo = True
10 else:
11 boo = False
12 break
13
14if boo == True:
15 print("Yes")
16else:
17 print("No")
کد ارسالشده برای داوری خودکار هاتکدز
UTF-8