結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-20 12:29:58 |
| 言語 | PHP (843.2) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 236 bytes |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 30,900 KB |
| 実行使用メモリ | 78,348 KB |
| 最終ジャッジ日時 | 2024-10-11 05:26:29 |
| 合計ジャッジ時間 | 2,461 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 MLE * 7 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $strs = str_split(trim(fgets(STDIN))); $strs = array_count_values($strs); $ts = isset($strs['t'])? $strs['t']:0; $rs = isset($strs['r'])? $strs['r']:0; $es = isset($strs['e'])? (int)($strs['e']/2):0; echo min($ts,$rs,$es).PHP_EOL;