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