369 by 51b

void main(){foreach(n;1..1001)for(int m=n,x;x|=printf(&"%d
\0Clap"[m?~-m%10%3>1?4:3:x/2],n),m;)m/=10;}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page