結果
| 問題 |
No.495 (^^*) Easy
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-06 15:21:38 |
| 言語 | PHP (843.2) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 208 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 32,404 KB |
| 実行使用メモリ | 32,400 KB |
| 最終ジャッジ日時 | 2024-06-23 23:29:27 |
| 合計ジャッジ時間 | 1,097 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 |
コンパイルメッセージ
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; ?>