結果

問題 No.207 世界のなんとか
ユーザー PcclaPccla
提出日時 2017-07-13 21:31:02
言語 PHP
(8.2.11)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 192 bytes
コンパイル時間 543 ms
コンパイル使用メモリ 18,612 KB
実行使用メモリ 19,008 KB
最終ジャッジ日時 2023-07-29 12:25:50
合計ジャッジ時間 1,242 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
18,792 KB
testcase_01 AC 14 ms
19,008 KB
testcase_02 AC 13 ms
18,884 KB
testcase_03 AC 13 ms
18,812 KB
testcase_04 AC 13 ms
18,768 KB
testcase_05 AC 12 ms
18,920 KB
testcase_06 AC 14 ms
18,876 KB
testcase_07 AC 13 ms
18,872 KB
testcase_08 AC 13 ms
18,932 KB
testcase_09 AC 12 ms
18,964 KB
testcase_10 AC 12 ms
18,908 KB
testcase_11 AC 13 ms
18,776 KB
testcase_12 AC 12 ms
18,872 KB
testcase_13 AC 12 ms
18,724 KB
testcase_14 AC 12 ms
18,868 KB
testcase_15 AC 12 ms
18,916 KB
testcase_16 AC 13 ms
18,932 KB
testcase_17 AC 13 ms
18,756 KB
testcase_18 AC 12 ms
18,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php

fscanf(STDIN, "%d %d", $a, $b);

$c = $b - $a;
for ($i = 0; $i <= $c; $i++)
{
	if ($a % 3 === 0)
	{
		echo $a."\n";
	}
	elseif (strpos($a, "3") !== false)
	{
		echo $a."\n";
	}
	$a++;
}
0