結果
| 問題 | No.495 (^^*) Easy |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-06 15:21:38 |
| 言語 | PHP (8.5.2) |
| 結果 |
AC
|
| 実行時間 | 48 ms / 2,000 ms |
| コード長 | 208 bytes |
| 記録 | |
| コンパイル時間 | 936 ms |
| コンパイル使用メモリ | 38,008 KB |
| 実行使用メモリ | 38,000 KB |
| 最終ジャッジ日時 | 2026-03-09 06:45:52 |
| 合計ジャッジ時間 | 1,811 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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; ?>