結果

問題 No.207 世界のなんとか
ユーザー kagikakko_karikagikakko_kari
提出日時 2016-06-18 17:24:49
言語 PHP
(8.3.4)
結果
AC  
実行時間 48 ms / 5,000 ms
コード長 164 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 31,312 KB
実行使用メモリ 31,348 KB
最終ジャッジ日時 2024-04-18 02:51:22
合計ジャッジ時間 1,979 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
31,140 KB
testcase_01 AC 46 ms
31,000 KB
testcase_02 AC 44 ms
30,816 KB
testcase_03 AC 44 ms
30,964 KB
testcase_04 AC 47 ms
31,256 KB
testcase_05 AC 46 ms
31,164 KB
testcase_06 AC 45 ms
31,020 KB
testcase_07 AC 45 ms
31,132 KB
testcase_08 AC 45 ms
31,128 KB
testcase_09 AC 45 ms
31,224 KB
testcase_10 AC 45 ms
31,144 KB
testcase_11 AC 45 ms
31,048 KB
testcase_12 AC 45 ms
31,132 KB
testcase_13 AC 45 ms
30,980 KB
testcase_14 AC 44 ms
30,996 KB
testcase_15 AC 48 ms
31,348 KB
testcase_16 AC 44 ms
31,008 KB
testcase_17 AC 44 ms
30,884 KB
testcase_18 AC 44 ms
31,216 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($a,$b) = explode(" ",fgets(STDIN));
while($a <= $b){
if($a % 3 == 0){
echo "$a\n";
}else{
$n = substr_count($a,"3");
if($n > 0){
echo "$a\n";
}
}
$a++;
}
0