結果

問題 No.207 世界のなんとか
ユーザー sam_kinosam_kino
提出日時 2016-08-27 13:32:28
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 266 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 31,184 KB
実行使用メモリ 31,540 KB
最終ジャッジ日時 2024-04-26 06:19:08
合計ジャッジ時間 1,512 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 41 ms
31,092 KB
testcase_02 WA -
testcase_03 AC 40 ms
31,176 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 37 ms
31,216 KB
testcase_07 AC 38 ms
31,216 KB
testcase_08 AC 39 ms
31,484 KB
testcase_09 AC 39 ms
31,408 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 38 ms
31,336 KB
testcase_17 AC 36 ms
31,496 KB
testcase_18 AC 38 ms
31,416 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;
			}
		}

	}
0