結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー osyo-mangaosyo-manga
提出日時 2023-07-21 18:43:26
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 11,952 KB
実行使用メモリ 22,616 KB
最終ジャッジ日時 2023-10-21 19:02:51
合計ジャッジ時間 3,956 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 137 ms
22,512 KB
testcase_02 AC 91 ms
16,332 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 132 ms
22,616 KB
testcase_06 AC 91 ms
16,332 KB
testcase_07 AC 89 ms
16,332 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 88 ms
16,332 KB
testcase_11 WA -
testcase_12 AC 89 ms
16,332 KB
testcase_13 AC 90 ms
16,332 KB
testcase_14 AC 114 ms
19,772 KB
testcase_15 AC 102 ms
17,664 KB
testcase_16 AC 120 ms
20,816 KB
testcase_17 AC 97 ms
17,364 KB
testcase_18 AC 119 ms
20,628 KB
testcase_19 AC 112 ms
19,468 KB
testcase_20 AC 133 ms
22,616 KB
testcase_21 AC 86 ms
16,376 KB
testcase_22 AC 102 ms
18,340 KB
testcase_23 AC 129 ms
22,220 KB
testcase_24 AC 126 ms
22,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# 入力された値を受け取る
# N の値は無視してもらって OK
N = gets.chomp.to_i
Ls = gets.chomp.split.map(&:to_i).tally

pp Ls.key(Ls.values.max)
0