結果

問題 No.279 木の数え上げ
ユーザー simansiman
提出日時 2021-03-27 17:15:00
言語 Ruby
(3.3.0)
結果
MLE  
実行時間 -
コード長 116 bytes
コンパイル時間 682 ms
コンパイル使用メモリ 11,268 KB
実行使用メモリ 67,996 KB
最終ジャッジ日時 2023-08-19 14:56:59
合計ジャッジ時間 6,318 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
15,068 KB
testcase_01 AC 67 ms
15,292 KB
testcase_02 AC 67 ms
15,184 KB
testcase_03 AC 67 ms
15,080 KB
testcase_04 AC 70 ms
15,296 KB
testcase_05 AC 72 ms
15,108 KB
testcase_06 AC 70 ms
15,068 KB
testcase_07 AC 67 ms
14,956 KB
testcase_08 AC 85 ms
15,096 KB
testcase_09 AC 86 ms
15,080 KB
testcase_10 MLE -
testcase_11 AC 120 ms
25,480 KB
testcase_12 AC 237 ms
49,392 KB
testcase_13 AC 101 ms
21,044 KB
testcase_14 MLE -
testcase_15 AC 285 ms
59,100 KB
testcase_16 AC 253 ms
55,444 KB
testcase_17 MLE -
testcase_18 AC 206 ms
42,020 KB
testcase_19 AC 298 ms
63,208 KB
testcase_20 MLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

S = gets.chomp
counter = S.chars.tally
counter.default = 0

puts [counter['t'], counter['r'], counter['e'] / 2].min
0