結果
| 問題 | No.571 3人兄弟(その2) |
| コンテスト | |
| ユーザー |
ymgckyo
|
| 提出日時 | 2017-10-15 03:28:53 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 94 ms / 2,000 ms |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 886 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-12 10:23:03 |
| 合計ジャッジ時間 | 2,692 ms |
|
ジャッジサーバーID (参考情報) |
tmp-judge_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 |
ソースコード
hw_list = []
h, w = map(int, (input().split()))
hw_list.append(['A', h, w])
h, w = map(int, (input().split()))
hw_list.append(['B', h, w])
h, w = map(int, (input().split()))
hw_list.append(['C', h, w])
hw_list = sorted(hw_list, key=lambda x:(-x[1],x[2]))
for hw in hw_list:
print(hw[0])
ymgckyo