結果
問題 |
No.279 木の数え上げ
|
ユーザー |
|
提出日時 | 2019-07-29 22:22:37 |
言語 | PHP (843.2) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 253 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 30,916 KB |
実行使用メモリ | 32,784 KB |
最終ジャッジ日時 | 2024-07-02 15:28:57 |
合計ジャッジ時間 | 1,886 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $input = trim(fgets(STDIN)); $t_count = substr_count($input, "t"); $r_count = substr_count($input, "r"); $e_count = substr_count($input, "e"); $ee_count = floor($e_count / 2); $answer = min([$t_count, $r_count, $ee_count]); echo $answer . "\n";