結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
yu2k
|
| 提出日時 | 2015-11-24 21:30:16 |
| 言語 | PHP (843.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| 記録 | |
| コンパイル時間 | 178 ms |
| コンパイル使用メモリ | 32,276 KB |
| 実行使用メモリ | 34,616 KB |
| 最終ジャッジ日時 | 2024-09-13 17:21:03 |
| 合計ジャッジ時間 | 2,166 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 20 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php fscanf(STDIN, "%s", $input); $input = 'takahashikunlovesyukicoder'; $cnt_t = substr_count($input, 't'); $cnt_r = substr_count($input, 'r'); $cnt_e = substr_count($input, 'e'); $ret = 0; $ret = min($cnt_t, $cnt_r, $cnt_e); echo $ret; echo "\n";
yu2k