結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
yu2k
|
| 提出日時 | 2015-11-24 21:59:01 |
| 言語 | PHP (843.2) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 213 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 30,944 KB |
| 実行使用メモリ | 32,656 KB |
| 最終ジャッジ日時 | 2024-10-14 15:21:04 |
| 合計ジャッジ時間 | 1,823 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php fscanf(STDIN, "%s", $input); $cnt_t = substr_count($input, 't'); $cnt_r = substr_count($input, 'r'); $cnt_e = substr_count($input, 'e'); $ret = min($cnt_t, $cnt_r, floor($cnt_e/2)); echo $ret; echo "\n";
yu2k