精華區beta b89902xxx 關於我們 聯絡資訊
#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) ; } 這個程式不錯 大家看看 只是我都看不懂 -- ※ 發信站: 批踢踢實業坊(ptt.twbbs.org) ◆ From: ntucsz.csie.ntu.edu.tw