結果

問題 No.279 木の数え上げ
ユーザー Naoki_M_Naoki_M_
提出日時 2015-11-05 22:35:54
言語 Ruby
(3.3.0)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 107 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 11,328 KB
実行使用メモリ 75,720 KB
最終ジャッジ日時 2023-10-11 14:09:08
合計ジャッジ時間 6,541 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,296 KB
testcase_01 AC 78 ms
15,324 KB
testcase_02 AC 78 ms
15,320 KB
testcase_03 AC 78 ms
15,120 KB
testcase_04 AC 78 ms
15,228 KB
testcase_05 AC 79 ms
15,052 KB
testcase_06 AC 82 ms
15,360 KB
testcase_07 AC 81 ms
15,224 KB
testcase_08 AC 79 ms
15,096 KB
testcase_09 AC 78 ms
15,308 KB
testcase_10 MLE -
testcase_11 AC 174 ms
26,824 KB
testcase_12 AC 371 ms
54,276 KB
testcase_13 AC 133 ms
21,776 KB
testcase_14 MLE -
testcase_15 MLE -
testcase_16 AC 417 ms
61,168 KB
testcase_17 MLE -
testcase_18 AC 320 ms
46,008 KB
testcase_19 MLE -
testcase_20 MLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
hs = Hash.new(0)
s.split('').map { |c| hs[c] += 1 }
puts [hs['t'], hs['r'], hs['e'] / 2].min
0