可以为4*4*4*4个
没有重复数字的有4*3*2*1个
编程思想就是组合和排列的思想
自己动脑筋吧。
4*3*2=24
编写的话
int i,j,k,count=0;
for(i=1;i<=4;i++)
{
for(j=1;j<=4;j++)
{
for(k=1;k<=4;k++)
{
if(i!=j&&i!=k&&j!=k)
count++;
}
}
}
printf("count is %d \n",count);