結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,432 KB
testcase_01 AC 37 ms
52,084 KB
testcase_02 AC 38 ms
52,704 KB
testcase_03 AC 38 ms
52,408 KB
testcase_04 WA -
testcase_05 AC 37 ms
52,424 KB
testcase_06 AC 37 ms
53,556 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 36 ms
53,228 KB
testcase_11 AC 38 ms
52,264 KB
testcase_12 AC 37 ms
52,168 KB
権限があれば一括ダウンロードができます

ソースコード

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 B.count(a) > 1:
        print("No")
        break
else:
    print("Yes")
0