Untitled
user_5668965
python
9 months ago
98 B
7
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')