結果

問題 No.207 世界のなんとか
ユーザー Ruizi_LuigiRuizi_Luigi
提出日時 2015-08-04 23:47:57
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 207 bytes
コンパイル時間 60 ms
コンパイル使用メモリ 18,700 KB
実行使用メモリ 19,048 KB
最終ジャッジ日時 2023-09-25 01:11:30
合計ジャッジ時間 1,285 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 16 ms
18,968 KB
testcase_04 AC 15 ms
18,960 KB
testcase_05 WA -
testcase_06 AC 15 ms
18,912 KB
testcase_07 AC 15 ms
18,968 KB
testcase_08 AC 15 ms
18,944 KB
testcase_09 AC 15 ms
18,984 KB
testcase_10 WA -
testcase_11 AC 16 ms
18,912 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 15 ms
18,752 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 15 ms
18,672 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php

list($a, $b) = explode(' ', trim(fgets(STDIN)));

for ($i = $a; $i < $b; $i++) {
  $result1 = strpos((string)$i, '3');
  $result2 = $i%3;
  if ($result1 !== false || $result2 === 0) echo $i . "\n";
}
0