結果

問題 No.279 木の数え上げ
ユーザー ben
提出日時 2015-11-24 21:33:28
言語 PHP
(843.2)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 32,532 KB
実行使用メモリ 34,488 KB
最終ジャッジ日時 2024-09-13 17:21:05
合計ジャッジ時間 1,867 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
fscanf(STDIN, "%s", $input);

$t = substr_count($input, "t");
$r = substr_count($input, "r");
$e = substr_count($input, "e");

$res = min($t, $r, $e/2);

echo $res;
echo "\n";

0