k;f(n,a,t){a|=t=n/3-n/5==k;n>1&&f(n-1,a);a&&printf(t?"%d":" "+(10>n),n);}main(){for(;k<15;k+=puts(""))f(100,0);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page