結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー LeonardoneLeonardone
提出日時 2015-10-14 17:52:38
言語 Ruby
(3.3.0)
結果
AC  
実行時間 126 ms / 5,000 ms
コード長 158 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 11,384 KB
実行使用メモリ 22,600 KB
最終ジャッジ日時 2023-09-08 14:38:37
合計ジャッジ時間 3,560 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,288 KB
testcase_01 AC 126 ms
22,432 KB
testcase_02 AC 78 ms
15,252 KB
testcase_03 AC 78 ms
15,144 KB
testcase_04 AC 78 ms
15,260 KB
testcase_05 AC 120 ms
22,600 KB
testcase_06 AC 79 ms
15,148 KB
testcase_07 AC 79 ms
15,120 KB
testcase_08 AC 78 ms
15,116 KB
testcase_09 AC 78 ms
15,224 KB
testcase_10 AC 77 ms
15,296 KB
testcase_11 AC 78 ms
15,244 KB
testcase_12 AC 78 ms
15,284 KB
testcase_13 AC 79 ms
15,096 KB
testcase_14 AC 105 ms
19,296 KB
testcase_15 AC 88 ms
16,804 KB
testcase_16 AC 109 ms
20,928 KB
testcase_17 AC 86 ms
16,404 KB
testcase_18 AC 108 ms
20,336 KB
testcase_19 AC 102 ms
18,856 KB
testcase_20 AC 126 ms
22,564 KB
testcase_21 AC 79 ms
15,040 KB
testcase_22 AC 96 ms
17,692 KB
testcase_23 AC 124 ms
21,780 KB
testcase_24 AC 124 ms
22,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#! ruby
# yukicoder My Practice
# author: Leonardone @ NEETSDKASU

N = gets.to_i

L = gets.chomp.split.map(&:to_i)

puts  L.uniq.map{|x|[L.count(x),x]}.max[1]
0