結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー mmmpppmmmppp
提出日時 2017-02-23 06:13:30
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 64 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 32,640 KB
最終ジャッジ日時 2024-06-10 02:47:34
合計ジャッジ時間 7,027 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 215 ms
19,484 KB
testcase_01 TLE -
testcase_02 AC 86 ms
19,360 KB
testcase_03 AC 90 ms
31,616 KB
testcase_04 AC 86 ms
19,360 KB
testcase_05 -- -
testcase_06 AC 85 ms
19,100 KB
testcase_07 AC 83 ms
29,824 KB
testcase_08 AC 84 ms
19,356 KB
testcase_09 AC 83 ms
30,080 KB
testcase_10 AC 82 ms
19,360 KB
testcase_11 AC 84 ms
27,520 KB
testcase_12 AC 83 ms
19,356 KB
testcase_13 AC 84 ms
31,360 KB
testcase_14 -- -
testcase_15 TLE -
testcase_16 -- -
testcase_17 AC 4,450 ms
32,640 KB
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 AC 139 ms
12,416 KB
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

n=gets.to_i
l=gets.split.map &:hex
p l.max_by{|i|[l.count(i),i]}
0