結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー Lo_OTLo_OT
提出日時 2018-02-01 00:11:22
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 11,324 KB
実行使用メモリ 21,384 KB
最終ジャッジ日時 2023-08-28 17:33:48
合計ジャッジ時間 3,391 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,276 KB
testcase_01 AC 139 ms
21,084 KB
testcase_02 AC 74 ms
15,252 KB
testcase_03 AC 74 ms
15,172 KB
testcase_04 AC 74 ms
15,312 KB
testcase_05 AC 126 ms
21,244 KB
testcase_06 AC 74 ms
15,264 KB
testcase_07 AC 75 ms
15,052 KB
testcase_08 AC 74 ms
15,392 KB
testcase_09 AC 75 ms
15,312 KB
testcase_10 AC 75 ms
15,276 KB
testcase_11 AC 75 ms
15,152 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 104 ms
18,600 KB
testcase_15 AC 87 ms
16,332 KB
testcase_16 AC 112 ms
19,536 KB
testcase_17 AC 85 ms
16,064 KB
testcase_18 AC 110 ms
19,624 KB
testcase_19 AC 102 ms
18,332 KB
testcase_20 AC 130 ms
21,384 KB
testcase_21 AC 77 ms
15,124 KB
testcase_22 AC 94 ms
17,224 KB
testcase_23 AC 127 ms
20,936 KB
testcase_24 AC 127 ms
20,904 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
p gets.split.map(&:to_i).inject(Hash.new(0)){|h,v| h[v]+=1;h}.sort{|a,b| a[1] <=> b[1]}[-1][0]
0