結果

問題 No.1366 交換門松列・梅
ユーザー otsunekootsuneko
提出日時 2021-05-14 13:11:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 82,424 KB
実行使用メモリ 53,444 KB
最終ジャッジ日時 2024-04-09 18:26:33
合計ジャッジ時間 1,371 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,244 KB
testcase_01 AC 36 ms
52,404 KB
testcase_02 WA -
testcase_03 AC 37 ms
52,960 KB
testcase_04 WA -
testcase_05 AC 36 ms
52,220 KB
testcase_06 AC 37 ms
52,596 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 37 ms
52,940 KB
testcase_10 AC 37 ms
52,688 KB
testcase_11 AC 37 ms
52,152 KB
testcase_12 AC 36 ms
52,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = set(list(map(int,input().split())))
B = set(list(map(int,input().split())))

if len(A & B) <= 1:
    print("Yes")
else:
    print("No")
0