結果

問題 No.207 世界のなんとか
ユーザー ieneko18ieneko18
提出日時 2016-11-28 04:05:07
言語 PHP
(8.3.4)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 30,708 KB
実行使用メモリ 31,228 KB
最終ジャッジ日時 2024-05-05 14:29:37
合計ジャッジ時間 1,607 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
30,988 KB
testcase_01 AC 38 ms
31,092 KB
testcase_02 AC 38 ms
31,132 KB
testcase_03 AC 38 ms
31,228 KB
testcase_04 AC 38 ms
30,976 KB
testcase_05 AC 39 ms
31,000 KB
testcase_06 AC 40 ms
31,088 KB
testcase_07 AC 38 ms
31,092 KB
testcase_08 AC 37 ms
31,144 KB
testcase_09 AC 38 ms
31,080 KB
testcase_10 AC 39 ms
31,180 KB
testcase_11 AC 39 ms
31,184 KB
testcase_12 AC 38 ms
31,040 KB
testcase_13 AC 37 ms
31,068 KB
testcase_14 AC 40 ms
30,860 KB
testcase_15 AC 39 ms
31,064 KB
testcase_16 AC 38 ms
31,088 KB
testcase_17 AC 38 ms
30,964 KB
testcase_18 AC 38 ms
30,960 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($a,$b)=explode(" ",trim(fgets(STDIN)));
for($i=$a;$i<=$b;$i++){
    if($i%3==0||strstr(strval($i),"3"))echo $i."\n";
}
?>
0