标签:1234
#include<stdio.h>
int main()
{
int a = 0, b = 0, c = 0, 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%d%d\n", a, b, c);
count++;
}
printf("count=%d", count);
return 0;
}
标签:1234
原文地址:http://10942013.blog.51cto.com/10932013/1722090