結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
![]() |
提出日時 | 2020-01-03 11:27:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 345 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 18:58:16 |
合計ジャッジ時間 | 1,333 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
hw_list = []for i in range(3):cur_list = [int(i) for i in input().split()]cur_list.insert(0, i)hw_list.append(cur_list)sorted_hw_list = sorted(hw_list, key=lambda x:x[2])sorted_hw_list = sorted(sorted_hw_list, key=lambda x:x[1], reverse=True)for i in range(3):index = sorted_hw_list[i][0]print(chr(index + 65))