結果

問題 No.279 木の数え上げ
ユーザー LEDLED
提出日時 2019-02-01 17:36:35
言語 Ruby
(3.3.0)
結果
MLE  
実行時間 -
コード長 122 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 88,508 KB
最終ジャッジ日時 2024-05-02 05:03:09
合計ジャッジ時間 7,547 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
12,032 KB
testcase_01 AC 74 ms
12,160 KB
testcase_02 AC 78 ms
12,160 KB
testcase_03 AC 78 ms
12,032 KB
testcase_04 AC 76 ms
12,288 KB
testcase_05 AC 79 ms
12,288 KB
testcase_06 AC 75 ms
12,160 KB
testcase_07 AC 73 ms
12,160 KB
testcase_08 AC 75 ms
12,288 KB
testcase_09 AC 75 ms
12,288 KB
testcase_10 MLE -
testcase_11 AC 202 ms
27,648 KB
testcase_12 AC 460 ms
55,772 KB
testcase_13 AC 153 ms
20,864 KB
testcase_14 MLE -
testcase_15 MLE -
testcase_16 MLE -
testcase_17 MLE -
testcase_18 AC 368 ms
51,200 KB
testcase_19 MLE -
testcase_20 MLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s=gets.chomp.split('')
t=s.select{|c|c=='t'}.size
r=s.select{|c|c=='r'}.size
e=s.select{|c|c=='e'}.size/2
puts [t,r,e].min
0