結果
問題 | No.495 (^^*) Easy |
ユーザー | dyechi |
提出日時 | 2019-04-06 15:21:38 |
言語 | PHP (8.3.4) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 124 ms |
コンパイル使用メモリ | 12,168 KB |
実行使用メモリ | 12,304 KB |
最終ジャッジ日時 | 2023-09-06 04:40:41 |
合計ジャッジ時間 | 866 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 7 ms
12,304 KB |
testcase_01 | AC | 7 ms
12,140 KB |
testcase_02 | AC | 7 ms
12,144 KB |
testcase_03 | AC | 7 ms
12,164 KB |
testcase_04 | AC | 8 ms
12,188 KB |
testcase_05 | AC | 8 ms
12,208 KB |
testcase_06 | AC | 9 ms
12,212 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $s = trim(fgets(STDIN)); $right_counter = 0; $left_counter = 0; $left_counter = substr_count($s, "(^^*)"); $right_counter = substr_count($s, "(*^^)"); echo $left_counter." ".$right_counter.PHP_EOL; ?>