25.
#include
{ int a,i,n; for (a=6;a<=1000;a++) { n=0; } 三.
} return 0;
for(i=1;i if(a%i==0) n=n+i; } if(n==a) { printf(\ } for (i=1;i if(a%i==0) { if(i else printf(\ printf(\ 第三季已齐全 21. #include int x,y,a,b,l,s1,s2,t; scanf(\if(x s1=(y-x);s2=l-s1; if(a>b){t=s1/(a-b); printf(\ else if(a else{ s1=x-y;s2=l-s1; if(a>b){t=s2/(a-b); printf(\ else if(a } return 0; #include { int N,i,j,k,x,a,cnt=0; scanf(\ for(k=7;k<=N;k++) { j=k; for(i=4;i>=0;i--) { a=(int)pow(10,i); x=j/a; if(x==7||k%7==0) { printf(\ break; } else j=j-a*x; } } return 0; } 23. #include int a,b,c,d,e,f,g,h,i,j,n; scanf(\ if(n<2||n>79)printf(\for(j=0;j<=9;j++) for(i=0;i<=9;i++)if(i==j)continue; else for(h=0;h<=9;h++)if(h==j||h==i)continue; else for(g=0;g<=9;g++)if(g==h||g==i||g==j)continue; else for(f=0;f<=9;f++)if(f==g||f==h||f==i||f==j)continue; else for(e=0;e<=9;e++)if(e==f||e==g||e==h||e==i||e==j)continue; else for(d=0;d<=9;d++)if(d==e||d==f||d==g||d==h||d==i||d==j)continue; else for(c=0;c<=9;c++)if(c==d||c==e||c==f||c==g||c==h||c==i||c==j)continue; else for(b=0;b<=9;b++)if(b==c||b==d||b==e||b==f||b==g||b==h||b==i||b==j)continue; else for(a=0;a<=9;a++)if(a==b||a==c||a==d||a==e||a==f||a==g||a==h||a==i||a==j)continue; else if(double(a*10000+b*1000+c*100+d*10+e)/double(f*10000+g*1000+h*100+i*10+j)==n) } 24。 printf(\ else continue; return 0;