Untitled
user_5668965
python
09/29/2024 2:53 PM
132 B
28
Indexable
for t in range(int(input())):
print('NO' if len(set(input()) & set(input())) == 0 else 'YES')Editor is loading...
Leave a Comment
for t in range(int(input())):
print('NO' if len(set(input()) & set(input())) == 0 else 'YES')