結果
問題 | No.1366 交換門松列・梅 |
ユーザー | otsuneko |
提出日時 | 2021-05-14 13:09:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 275 ms |
コンパイル使用メモリ | 82,600 KB |
実行使用メモリ | 53,528 KB |
最終ジャッジ日時 | 2024-04-09 18:24:53 |
合計ジャッジ時間 | 1,507 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 36 ms
52,488 KB |
testcase_01 | AC | 37 ms
52,420 KB |
testcase_02 | AC | 37 ms
51,968 KB |
testcase_03 | AC | 37 ms
52,536 KB |
testcase_04 | WA | - |
testcase_05 | AC | 36 ms
52,680 KB |
testcase_06 | AC | 37 ms
52,732 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 37 ms
52,724 KB |
testcase_11 | AC | 37 ms
52,848 KB |
testcase_12 | AC | 36 ms
51,628 KB |
ソースコード
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") exit() for b in B: if A.count(b) > 1: print("No") exit() print("Yes")