enum M{M;int i,m,n=1;{for(String s="(";i++<1e4;)if((""+i).matches((s=i<n?s:s+"|"+(n=m+(m=n)))+")*"))System.out.println(i);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page