結果
問題 |
No.570 3人兄弟(その1)
|
ユーザー |
|
提出日時 | 2017-12-18 21:56:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 260 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-16 00:52:45 |
合計ジャッジ時間 | 857 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 5 |
ソースコード
A = int(input()) B = int(input()) C = int(input()) top = max(A, B, C) if top == A: if B > C: print("A", "B", "C") else: print("A", "C", "B") elif top == B: if A > C: print("B", "A", "C") else: print("B", "C", "A") else: if A > B: print("C", "A", "B") else: print("C", "B", "A")