[阅读: 297] 2005-06-22 05:00:57
#include <stdlib.h>
#include <stdio.h>
long a=10000,b,c=2800,d,e,f[2801],g;
main()
{
for(;b-c;)
f[b++]=a/5;
for(;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)
for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);
}
狼牙月,伊人憔悴; ─────────────── ◥◣ ──╮
█ ╭╯
我举杯,饮尽了风雪。 ◢◤ ╰──────
──────────╮
───── ——周杰伦《发如雪》 ╰───