#includevoid main (){int m,n,F[5],flag;flag =1;n=1;while(flag==1){F[0]=5*n+1;flag=0;for (i=1;i<5;i++){if (F[m-1]%4!=0){flag=1;break;}F[m]=5*F[m-1]/4+1;}n++;}printf ("%d\n",F[4]);}
本文共 244 字,大约阅读时间需要 1 分钟。
#includevoid main (){int m,n,F[5],flag;flag =1;n=1;while(flag==1){F[0]=5*n+1;flag=0;for (i=1;i<5;i++){if (F[m-1]%4!=0){flag=1;break;}F[m]=5*F[m-1]/4+1;}n++;}printf ("%d\n",F[4]);}
转载于:https://my.oschina.net/2273990296/blog/220162