結果
問題 |
No.1257 変わった平均値
|
ユーザー |
![]() |
提出日時 | 2020-10-16 22:02:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 323 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-20 21:46:00 |
合計ジャッジ時間 | 1,583 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 1 |
ソースコード
A1 = list(map(int, input().split())) A2 = list(map(int, input().split())) if sum(A1) != sum(A2): print("No") else: B1 = sorted(A1) B2 = sorted(A2) if B1 == B2: print("Yes") if A1 != A2: print(2) else: print(1) else: print("No")