分类: C/C++
2015-03-24 23:54:33
#includeint main () { int a,b,c,sum; int num=0; for (a=1;a<5;a++) { for (b=1;b<5;b++) { for (c=1;c<5;c++) { if (a!=b && a!=c && b!=c) { printf("%d\n",sum); num++; } } } } printf("yi gong you %d ge shu \n",num); return 0; }