結果

問題 No.279 木の数え上げ
ユーザー cielciel
提出日時 2015-09-18 23:03:36
言語 Ruby
(3.2.2)
結果
AC  
実行時間 390 ms / 2,000 ms
コード長 64 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 11,348 KB
実行使用メモリ 16,508 KB
最終ジャッジ日時 2023-08-04 17:59:56
合計ジャッジ時間 5,855 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,292 KB
testcase_01 AC 80 ms
15,048 KB
testcase_02 AC 78 ms
15,284 KB
testcase_03 AC 79 ms
15,132 KB
testcase_04 AC 78 ms
15,340 KB
testcase_05 AC 80 ms
15,352 KB
testcase_06 AC 79 ms
15,164 KB
testcase_07 AC 79 ms
15,052 KB
testcase_08 AC 81 ms
15,180 KB
testcase_09 AC 81 ms
15,296 KB
testcase_10 AC 363 ms
16,284 KB
testcase_11 AC 143 ms
15,412 KB
testcase_12 AC 273 ms
16,108 KB
testcase_13 AC 115 ms
15,328 KB
testcase_14 AC 389 ms
16,508 KB
testcase_15 AC 338 ms
16,388 KB
testcase_16 AC 314 ms
16,356 KB
testcase_17 AC 370 ms
16,416 KB
testcase_18 AC 227 ms
15,740 KB
testcase_19 AC 362 ms
16,200 KB
testcase_20 AC 390 ms
16,432 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

h=Hash.new(0)
gets.chars{|c|h[c]+=1}
p [h[?t],h[?r],h[?e]/2].min
0