結果

問題 No.279 木の数え上げ
ユーザー
提出日時 2015-10-09 14:32:13
言語 PHP
(8.3.4)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 31,104 KB
実行使用メモリ 32,656 KB
最終ジャッジ日時 2024-04-22 16:08:58
合計ジャッジ時間 1,808 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
30,984 KB
testcase_01 AC 36 ms
31,044 KB
testcase_02 AC 36 ms
31,080 KB
testcase_03 AC 37 ms
31,196 KB
testcase_04 AC 38 ms
30,836 KB
testcase_05 AC 40 ms
31,184 KB
testcase_06 AC 38 ms
31,052 KB
testcase_07 AC 37 ms
30,872 KB
testcase_08 AC 35 ms
31,188 KB
testcase_09 AC 36 ms
30,976 KB
testcase_10 AC 40 ms
32,468 KB
testcase_11 AC 38 ms
31,096 KB
testcase_12 AC 40 ms
31,756 KB
testcase_13 AC 37 ms
31,044 KB
testcase_14 AC 40 ms
32,656 KB
testcase_15 AC 40 ms
32,272 KB
testcase_16 AC 39 ms
32,140 KB
testcase_17 AC 40 ms
32,396 KB
testcase_18 AC 37 ms
31,248 KB
testcase_19 AC 40 ms
32,396 KB
testcase_20 AC 40 ms
32,396 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$a=fgets(STDIN);$c=[];foreach(['t'=>1,'r'=>1,'e'=>2] as $k=>$v){$c[]=floor(substr_count($a,$k)/$v);}echo min($c)."\n";
0