結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
![]() |
提出日時 | 2017-10-15 03:26:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-17 15:03:13 |
合計ジャッジ時間 | 974 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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]), reverse=True)for hw in hw_list:print(hw[0])