結果

問題 No.279 木の数え上げ
ユーザー cympfhcympfh
提出日時 2016-02-22 21:14:37
言語 Ruby
(3.3.0)
結果
MLE  
実行時間 -
コード長 71 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 11,912 KB
実行使用メモリ 126,804 KB
最終ジャッジ日時 2023-10-23 19:20:42
合計ジャッジ時間 7,960 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
16,104 KB
testcase_01 AC 84 ms
16,104 KB
testcase_02 AC 83 ms
16,104 KB
testcase_03 AC 85 ms
16,104 KB
testcase_04 AC 84 ms
16,104 KB
testcase_05 AC 84 ms
16,104 KB
testcase_06 AC 81 ms
16,104 KB
testcase_07 AC 83 ms
16,104 KB
testcase_08 AC 83 ms
16,104 KB
testcase_09 AC 81 ms
16,104 KB
testcase_10 MLE -
testcase_11 AC 218 ms
38,924 KB
testcase_12 MLE -
testcase_13 AC 164 ms
29,520 KB
testcase_14 MLE -
testcase_15 MLE -
testcase_16 MLE -
testcase_17 MLE -
testcase_18 MLE -
testcase_19 MLE -
testcase_20 MLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s=gets
a,b,c="tre".chars.map{|k|s.chars.count{|t|t==k}}
p [a,b,c/2].min
0