Multifactorials by uru

var s:string;n,m:comp;begin
repeat
read(n,s);m:=1;repeat
m:=m*n;n:=n-length(s)until n<2;writeln(m)until 1=0end.

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

download

return to the top page