結果

問題 No.279 木の数え上げ
ユーザー mondomondo
提出日時 2019-07-29 16:26:43
言語 PHP
(8.3.4)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 684 ms
コンパイル使用メモリ 12,060 KB
実行使用メモリ 13,780 KB
最終ジャッジ日時 2023-09-15 11:56:40
合計ジャッジ時間 1,610 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
12,164 KB
testcase_01 AC 8 ms
12,084 KB
testcase_02 AC 7 ms
12,140 KB
testcase_03 AC 7 ms
12,124 KB
testcase_04 AC 8 ms
12,136 KB
testcase_05 AC 7 ms
12,164 KB
testcase_06 AC 8 ms
12,056 KB
testcase_07 AC 8 ms
12,152 KB
testcase_08 AC 8 ms
12,124 KB
testcase_09 AC 8 ms
12,124 KB
testcase_10 AC 10 ms
13,744 KB
testcase_11 AC 8 ms
12,116 KB
testcase_12 AC 9 ms
12,144 KB
testcase_13 AC 8 ms
12,096 KB
testcase_14 AC 10 ms
13,700 KB
testcase_15 AC 9 ms
13,692 KB
testcase_16 AC 10 ms
12,196 KB
testcase_17 AC 10 ms
13,776 KB
testcase_18 AC 9 ms
12,136 KB
testcase_19 AC 10 ms
13,780 KB
testcase_20 AC 11 ms
13,748 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$moji = trim(fgets(STDIN));
$t = substr_count($moji, "t");
$r = substr_count($moji, "r");
$e = (int)(substr_count($moji, "e")/2);
echo min($t,$r,$e);
0