結果

問題 No.207 世界のなんとか
ユーザー po1415po1415
提出日時 2015-05-26 20:43:42
言語 PHP
(8.3.4)
結果
AC  
実行時間 46 ms / 5,000 ms
コード長 158 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 32,268 KB
実行使用メモリ 31,272 KB
最終ジャッジ日時 2024-04-17 16:12:07
合計ジャッジ時間 1,647 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
30,884 KB
testcase_01 AC 42 ms
30,792 KB
testcase_02 AC 45 ms
31,016 KB
testcase_03 AC 46 ms
31,132 KB
testcase_04 AC 42 ms
31,272 KB
testcase_05 AC 42 ms
30,984 KB
testcase_06 AC 42 ms
31,132 KB
testcase_07 AC 42 ms
30,828 KB
testcase_08 AC 42 ms
30,748 KB
testcase_09 AC 42 ms
31,068 KB
testcase_10 AC 44 ms
30,960 KB
testcase_11 AC 42 ms
30,672 KB
testcase_12 AC 42 ms
30,932 KB
testcase_13 AC 43 ms
30,940 KB
testcase_14 AC 42 ms
31,064 KB
testcase_15 AC 42 ms
31,200 KB
testcase_16 AC 42 ms
31,152 KB
testcase_17 AC 41 ms
30,800 KB
testcase_18 AC 42 ms
30,992 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
fscanf(STDIN, '%d %d', $start, $end);
for ($i=$start; $i<=$end; $i++){
	if ((strpos($i, '3') !== FALSE) || ($i % 3 == 0)) {
		echo $i . PHP_EOL;
	}
}
?>
0