PersonalCorpus 版 (精华区)
1029643 Big Guava ... 485 Accepted
0:00.180 412 2002/08/19 06:12:15.225
#include "longinteger.c"
#define MAX 206
void main()
{
struct longinteger s[MAX];
int i,j,k;
for (i=0;i<MAX;i++) setzeroLI(&s[i]);
setoneLI(&s[1]); printf("1\n");
for (i=2;i<MAX;i++) {
for (j=i;j>0;j--) addLI2(&s[j],&s[j-1]);
for (j=1;j<i;j++) { printLI(&s[j]); printf(" "); }
printLI(&s[i]); printf("\n");
}
}
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.877毫秒