結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
![]() |
提出日時 | 2018-03-02 20:36:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 534 bytes |
コンパイル時間 | 137 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-12 02:43:39 |
合計ジャッジ時間 | 1,403 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
# -*- coding: utf-8 -*-"""No.571 3人兄弟(その2)https://yukicoder.me/problems/no/571"""import sysfrom sys import stdininput = stdin.readlinedef main(args):brothers = []H, W = map(int, input().split())brothers.append([-H, W, "A"])H, W = map(int, input().split())brothers.append([-H, W, "B"])H, W = map(int, input().split())brothers.append([-H, W, "C"])brothers.sort()for _, _, name in brothers:print(name)if __name__ == '__main__':main(sys.argv[1:])