結果
問題 |
No.1257 変わった平均値
|
ユーザー |
![]() |
提出日時 | 2020-10-16 22:01:38 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 366 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-20 21:45:15 |
合計ジャッジ時間 | 1,741 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 5 |
ソースコード
import sys input = sys.stdin.readline A, B, C = map(int, input().split()) D, E, F = map(int, input().split()) if sorted((A, B, C)) == sorted((D, E, F)): print("Yes") if A != D: if A != E and B != E: A, B = B, A print(2, "C") elif A != F and C != F: A, C = C, A print(2, "B") if B != E and C != F: print(2, "A") else: print("No")