結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー cielciel
提出日時 2014-12-10 04:28:22
言語 Ruby
(3.3.0)
結果
AC  
実行時間 137 ms / 5,000 ms
コード長 77 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 11,416 KB
実行使用メモリ 22,292 KB
最終ジャッジ日時 2023-09-08 14:18:36
合計ジャッジ時間 4,380 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,212 KB
testcase_01 AC 137 ms
22,108 KB
testcase_02 AC 84 ms
15,228 KB
testcase_03 AC 82 ms
15,228 KB
testcase_04 AC 82 ms
15,056 KB
testcase_05 AC 134 ms
22,268 KB
testcase_06 AC 81 ms
15,252 KB
testcase_07 AC 83 ms
15,056 KB
testcase_08 AC 83 ms
15,264 KB
testcase_09 AC 83 ms
15,128 KB
testcase_10 AC 83 ms
15,164 KB
testcase_11 AC 84 ms
15,260 KB
testcase_12 AC 83 ms
15,140 KB
testcase_13 AC 83 ms
15,304 KB
testcase_14 AC 112 ms
18,944 KB
testcase_15 AC 96 ms
16,636 KB
testcase_16 AC 120 ms
20,264 KB
testcase_17 AC 94 ms
16,472 KB
testcase_18 AC 119 ms
20,076 KB
testcase_19 AC 111 ms
18,484 KB
testcase_20 AC 137 ms
22,292 KB
testcase_21 AC 87 ms
15,216 KB
testcase_22 AC 104 ms
17,348 KB
testcase_23 AC 137 ms
21,960 KB
testcase_24 AC 136 ms
22,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;p gets.split.map(&:to_i).group_by{|e|e}.sort_by{|k,v|[-v.size,-k]}[0][0]
0