結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
16,056 KB
testcase_01 AC 84 ms
16,056 KB
testcase_02 AC 83 ms
16,056 KB
testcase_03 AC 84 ms
16,056 KB
testcase_04 AC 85 ms
16,056 KB
testcase_05 AC 83 ms
16,056 KB
testcase_06 AC 81 ms
16,056 KB
testcase_07 AC 83 ms
16,056 KB
testcase_08 AC 83 ms
16,056 KB
testcase_09 AC 81 ms
16,056 KB
testcase_10 MLE -
testcase_11 AC 218 ms
38,876 KB
testcase_12 MLE -
testcase_13 AC 162 ms
29,472 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