結果

問題 No.207 世界のなんとか
ユーザー tazakkytazakky
提出日時 2017-08-31 12:25:46
言語 PHP
(8.3.4)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 2,921 ms
コンパイル使用メモリ 29,896 KB
実行使用メモリ 31,008 KB
最終ジャッジ日時 2024-04-24 09:05:44
合計ジャッジ時間 4,467 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
30,784 KB
testcase_01 AC 40 ms
30,524 KB
testcase_02 AC 41 ms
30,824 KB
testcase_03 AC 39 ms
30,644 KB
testcase_04 AC 41 ms
30,832 KB
testcase_05 AC 41 ms
30,664 KB
testcase_06 AC 40 ms
30,900 KB
testcase_07 AC 40 ms
30,948 KB
testcase_08 AC 42 ms
30,608 KB
testcase_09 AC 42 ms
30,544 KB
testcase_10 AC 40 ms
30,732 KB
testcase_11 AC 42 ms
30,524 KB
testcase_12 AC 41 ms
30,868 KB
testcase_13 AC 40 ms
30,864 KB
testcase_14 AC 41 ms
31,008 KB
testcase_15 AC 41 ms
30,748 KB
testcase_16 AC 42 ms
30,812 KB
testcase_17 AC 41 ms
30,584 KB
testcase_18 AC 41 ms
30,624 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){
           echo $i."\n";
       }elseif(strstr($i, "3") !==false){
           echo $i."\n";
       }
   }

?>
0