結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー | PicklesSuperior |
提出日時 | 2018-10-21 09:10:13 |
言語 | PHP (8.3.4) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 71 ms |
コンパイル使用メモリ | 12,100 KB |
実行使用メモリ | 12,268 KB |
最終ジャッジ日時 | 2023-08-12 05:37:42 |
合計ジャッジ時間 | 1,044 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 8 ms
12,240 KB |
testcase_01 | AC | 7 ms
12,172 KB |
testcase_02 | AC | 7 ms
12,204 KB |
testcase_03 | AC | 7 ms
12,152 KB |
testcase_04 | AC | 7 ms
12,208 KB |
testcase_05 | AC | 7 ms
12,268 KB |
testcase_06 | AC | 7 ms
12,220 KB |
testcase_07 | AC | 7 ms
12,188 KB |
testcase_08 | AC | 7 ms
12,224 KB |
testcase_09 | AC | 8 ms
12,188 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $input = trim(fgets(STDIN)); $length = strlen($input); #print($length . $input[0] . $input[1] . $input[2] . "\n"); if($length == 3 && $input[0] == "h" && $input[1] == "a" && $input[2] == "m"){ print("ham" . "\n"); return; } print($input . "ham" . "\n"); ?>