結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
|
提出日時 | 2017-10-08 10:52:40 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 2,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,144 KB |
最終ジャッジ日時 | 2024-11-17 05:28:01 |
合計ジャッジ時間 | 1,360 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
#yuki_571a=[]*3for i in xrange(3):h,w=map(int,raw_input().split())a.append([chr(65+i),h,w])b=sorted(a, key=lambda x:(x[1],-x[2]), reverse=True)for i in xrange(3):print b[i][0]