验证中...
gistfile1.txt
Raw Copy
#include <stdio.h>
int main()
{
int a,b,c,count=0;
for(a=1;a<5;a++)
for(b=1;b<5;b++)
for(c=1;c<5;c++)
if(a!=b&&a!=c&&c!=b)
{
printf("%d ",a*100+b*10+c);
count++;
}
printf("\n");
printf("%d",count);
return 0;
}

Comment list( 0 )

You need to Sign in for post a comment

Help Search

Gitee_sixth 5th_float_left_close