結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
dong_feng
|
| 提出日時 | 2018-04-16 00:42:46 |
| 言語 | PHP (843.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 296 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 30,848 KB |
| 実行使用メモリ | 31,556 KB |
| 最終ジャッジ日時 | 2024-06-27 02:26:41 |
| 合計ジャッジ時間 | 1,559 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 19 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php
function contain3($num){
while($num>1){
if($num%10==3){
return true;
}
$num = floor($num/10);
}
return false;
}
sscanf(fgets(STDIN), "%d %d", $min, $max);
for($i=$min; $i<=$max; $i++){
if(contains3($i)||$i%3==0){
echo $i;
}
}
dong_feng