結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー yocto_sothothyocto_sothoth
提出日時 2020-11-23 23:36:20
言語 Ruby
(3.3.0)
結果
AC  
実行時間 131 ms / 5,000 ms
コード長 84 bytes
コンパイル時間 448 ms
コンパイル使用メモリ 11,384 KB
実行使用メモリ 21,248 KB
最終ジャッジ日時 2023-10-01 00:30:45
合計ジャッジ時間 4,207 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,100 KB
testcase_01 AC 131 ms
21,248 KB
testcase_02 AC 82 ms
15,172 KB
testcase_03 AC 83 ms
15,040 KB
testcase_04 AC 85 ms
15,168 KB
testcase_05 AC 127 ms
21,120 KB
testcase_06 AC 83 ms
15,216 KB
testcase_07 AC 83 ms
15,128 KB
testcase_08 AC 83 ms
15,240 KB
testcase_09 AC 83 ms
15,060 KB
testcase_10 AC 83 ms
15,092 KB
testcase_11 AC 83 ms
15,116 KB
testcase_12 AC 82 ms
15,028 KB
testcase_13 AC 83 ms
15,024 KB
testcase_14 AC 107 ms
18,588 KB
testcase_15 AC 91 ms
16,472 KB
testcase_16 AC 112 ms
19,476 KB
testcase_17 AC 92 ms
16,080 KB
testcase_18 AC 112 ms
19,212 KB
testcase_19 AC 105 ms
18,152 KB
testcase_20 AC 129 ms
21,196 KB
testcase_21 AC 84 ms
15,164 KB
testcase_22 AC 98 ms
16,908 KB
testcase_23 AC 125 ms
20,804 KB
testcase_24 AC 127 ms
20,988 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

_n = gets.to_i
l = gets.split.map(&:to_i)

puts l.tally.max_by { |k, v| [v, k] }[0]
0