PHP头条
热点:

PHP菜鸟尝试解决“易语言难题”-PHP源码


PHP 菜鸟尝试解决“易语言难题”

1);
$temp = array($i, $i*2, $i*3);
for($j = 0; $j < 3; $j++) {
$arr[$temp[$j]%10] = 1;
$arr[floor($temp[$j]/100)] = 1;
$arr[floor($temp[$j]/10)%10] = 1;
}

return count($arr) == 10;
}

for($i = 123; $i < 330; $i++) {
if(check($i)) {
printf("%d, %d, %d \n", $i, $i*2, $i*3);
}
}

www.phpzy.comtrue/php/35307.htmlTechArticlePHP菜鸟尝试解决“易语言难题”-PHP源码 PHP 菜鸟尝试解决“易语言难题” 1);$temp = array($i, $i*2, $i*3);for($j = 0; $j...

相关文章

PHP之友评论

今天推荐