#include
#include
int main(void)
{freopen(“3进制5位数组合数律法理式.txt”, “w”, stdout);
char* Z[94]={“0”,“1”,“2”,“3”,“4”,“5”,“6”,“7”,“8”,“9”,“a”,“b”,“c”,“d”,“e”,“f”,“g”,“h”,“i”,“j”,“k”,“l”,“m”,“n”,“o”,“p”,“q”,“r”,“s”,“t”,“u”,“v”,“w”,“x”,“y”,“z”,“A”,“B”,“C”,“D”,“E”,“F”,“G”,“H”,“I”,“J”,“K”,“L”,“M”,“N”,“O”,“P”,“Q”,“R”,“S”,“T”,“U”,“V”,“W”,“X”,“Y”,“Z”,"[","]","^","_","`",":",";","<","=",">","","?","","@","{","|","}","~","!","","$","%","&","’","(",")","*","+",",","-",".","/"};
int i,j,k,l,m,n;
printf("n输出3进制5位数律法理式n");
for(i=0;i<3;i++)
for(j=0;j<3;j++)
for(k=0;k<3;k++)
for(l=0;l<3;l++)
for(m=0;m<3;m++)
printf("%s%s%s%s%sn",Z[i],Z[j],Z[k],Z[l],Z[m]);
}