Groovy菜鸟来解决"易语言难题”

(123..329).each {if(((it+"${it*2}"+it*3).replaceAll('0','').toCharArray() as Set).size()==9) println([it,it*2,it*3])}

编程技巧