結果

問題 No.207 世界のなんとか
ユーザー sam_kinosam_kino
提出日時 2016-08-27 13:36:34
言語 PHP
(8.3.4)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 277 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 30,868 KB
実行使用メモリ 31,320 KB
最終ジャッジ日時 2024-04-26 06:19:12
合計ジャッジ時間 1,516 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
31,104 KB
testcase_01 AC 39 ms
31,096 KB
testcase_02 AC 40 ms
31,136 KB
testcase_03 AC 40 ms
31,224 KB
testcase_04 AC 40 ms
31,048 KB
testcase_05 AC 39 ms
31,052 KB
testcase_06 AC 39 ms
31,120 KB
testcase_07 AC 39 ms
30,908 KB
testcase_08 AC 39 ms
31,320 KB
testcase_09 AC 39 ms
31,120 KB
testcase_10 AC 39 ms
31,084 KB
testcase_11 AC 39 ms
31,136 KB
testcase_12 AC 38 ms
31,116 KB
testcase_13 AC 38 ms
30,996 KB
testcase_14 AC 38 ms
31,020 KB
testcase_15 AC 39 ms
31,000 KB
testcase_16 AC 38 ms
31,084 KB
testcase_17 AC 38 ms
30,980 KB
testcase_18 AC 38 ms
31,048 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php

	list($start,$end)=explode(" ",trim(fgets(STDIN)));
	//$nSa=$end-$start;

	for($i=$start;$i<=$end;$i++){
		if($i%3==0){
			echo $i.PHP_EOL;
			continue;
		}

		$arr_3=str_split($i);
		foreach($arr_3 as $aru){
			if($aru==3){
				echo $i.PHP_EOL;
				break;
			}
		}

	}
0