結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,212 KB
testcase_01 AC 35 ms
52,364 KB
testcase_02 AC 35 ms
52,448 KB
testcase_03 AC 35 ms
52,708 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 36 ms
51,816 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 37 ms
52,808 KB
testcase_11 AC 37 ms
51,968 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if sorted(A) == sorted(B):
    print("No")
    exit()

for a in A:
    if A.count(a) > 1 or B.count(a) > 1:
        print("No")
        break
else:
    print("Yes")
0