結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
12,068 KB
testcase_01 AC 7 ms
12,192 KB
testcase_02 WA -
testcase_03 AC 7 ms
12,200 KB
testcase_04 WA -
testcase_05 AC 8 ms
12,164 KB
testcase_06 AC 7 ms
12,120 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 10 ms
13,840 KB
testcase_11 AC 8 ms
12,100 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 10 ms
13,756 KB
testcase_18 AC 8 ms
12,172 KB
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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