結果

問題 No.571 3人兄弟(その2)
ユーザー letrangerjpletrangerjp
提出日時 2017-10-06 22:29:04
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 11,468 KB
実行使用メモリ 15,304 KB
最終ジャッジ日時 2023-08-10 17:16:29
合計ジャッジ時間 2,328 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,236 KB
testcase_01 AC 77 ms
15,252 KB
testcase_02 AC 78 ms
15,168 KB
testcase_03 AC 78 ms
15,172 KB
testcase_04 AC 78 ms
15,304 KB
testcase_05 AC 78 ms
15,220 KB
testcase_06 AC 79 ms
15,048 KB
testcase_07 AC 78 ms
15,232 KB
testcase_08 AC 78 ms
15,116 KB
testcase_09 AC 78 ms
15,132 KB
testcase_10 AC 78 ms
15,152 KB
testcase_11 AC 77 ms
15,132 KB
testcase_12 AC 78 ms
15,236 KB
testcase_13 AC 78 ms
15,072 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

puts$<.map{|s|s.split.map &:to_i}.zip(%w[A B C]).sort_by{|(h,w),|[-h,w]}.map &:pop
0