結果
問題 | No.593 4進FizzBuzz |
ユーザー | papinianus |
提出日時 | 2017-11-14 12:00:52 |
言語 | PHP (8.2.11) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 67 ms |
コンパイル使用メモリ | 12,004 KB |
実行使用メモリ | 15,876 KB |
最終ジャッジ日時 | 2023-08-16 13:02:03 |
合計ジャッジ時間 | 3,328 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 6 ms
12,192 KB |
testcase_01 | AC | 8 ms
12,192 KB |
testcase_02 | AC | 7 ms
12,216 KB |
testcase_03 | WA | - |
testcase_04 | AC | 6 ms
12,132 KB |
testcase_05 | AC | 7 ms
12,080 KB |
testcase_06 | WA | - |
testcase_07 | AC | 6 ms
12,104 KB |
testcase_08 | AC | 7 ms
12,204 KB |
testcase_09 | AC | 6 ms
12,132 KB |
testcase_10 | WA | - |
testcase_11 | AC | 7 ms
12,136 KB |
testcase_12 | AC | 6 ms
12,108 KB |
testcase_13 | AC | 7 ms
12,152 KB |
testcase_14 | AC | 7 ms
12,156 KB |
testcase_15 | AC | 7 ms
12,156 KB |
testcase_16 | RE | - |
testcase_17 | RE | - |
testcase_18 | RE | - |
testcase_19 | RE | - |
testcase_20 | RE | - |
testcase_21 | RE | - |
testcase_22 | RE | - |
testcase_23 | RE | - |
testcase_24 | RE | - |
testcase_25 | RE | - |
testcase_26 | RE | - |
testcase_27 | RE | - |
testcase_28 | RE | - |
testcase_29 | RE | - |
testcase_30 | RE | - |
testcase_31 | RE | - |
testcase_32 | RE | - |
testcase_33 | RE | - |
testcase_34 | RE | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $num = base_convert(trim(fgets(STDIN)), 4, 10); if($num % 15 === 0) { echo "FizzBuzz"; } else if($num % 3 === 0) { echo "Fizz"; } else if($num % 5 === 0) { echo "Buzz"; } else { echo $num; } echo PHP_EOL;