Expression for appreciation by 51b

import std.metastrings;template f(int n,int x){static if(n<11)const f="          "[n..$]~Format!(x," * 9 + ",n>9?"":" ",n," = ",x*9+n,\n)~f!(n+1,x*10+n);else auto f="";}pragma(msg,f!(2,1));

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

download

return to the top page