結果

問題 No.207 世界のなんとか
ユーザー papinianuspapinianus
提出日時 2016-05-15 01:28:42
言語 PHP
(8.3.4)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 172 bytes
コンパイル時間 3,680 ms
コンパイル使用メモリ 32,016 KB
実行使用メモリ 31,392 KB
最終ジャッジ日時 2024-04-17 16:48:51
合計ジャッジ時間 1,615 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
31,172 KB
testcase_01 AC 35 ms
30,856 KB
testcase_02 AC 36 ms
30,868 KB
testcase_03 AC 37 ms
31,060 KB
testcase_04 AC 36 ms
31,100 KB
testcase_05 AC 36 ms
31,040 KB
testcase_06 AC 36 ms
31,392 KB
testcase_07 AC 42 ms
31,388 KB
testcase_08 AC 36 ms
31,140 KB
testcase_09 AC 37 ms
30,948 KB
testcase_10 AC 36 ms
31,316 KB
testcase_11 AC 35 ms
31,084 KB
testcase_12 AC 38 ms
31,152 KB
testcase_13 AC 37 ms
31,356 KB
testcase_14 AC 38 ms
30,948 KB
testcase_15 AC 38 ms
31,196 KB
testcase_16 AC 37 ms
31,136 KB
testcase_17 AC 36 ms
31,272 KB
testcase_18 AC 35 ms
31,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($x, $y) = explode(" ", trim(fgets(STDIN)));
for($i = $x; $i<=$y; $i++) {
    if(($i % 3) === 0 || (strpos($i, "3") !== false)) {
        echo $i.PHP_EOL;
    }
}
0