• 2021-04-14
    #include#includevoidmain(){intm,i,k,n=0;for(m=20;m<=30;m++){k=(int)sqrt(m);for(i=2;i<=k;i++)if(m%i==0)break;if(i>=k+1){printf("%d,",m);n=n+1;if(n%5==0);}}}(5.0分)
  • 举一反三