Factorial1000 by *yuko*

#define x for i:=4to 2571do
var a:array[1..2571]of byte;i,j,k:comp=10;begin
for j:=1to 999do x begin k:=a[i]*j+k div
10;a[i]:=k mod 10end;x write(a[2572-i])end.

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

download

return to the top page