#includeint m,s,n;int i,j;int a[100][100];int sf(int n){ if(n%2!=0) printf("输入参数不合法!"); else if(n==2) { a[0][0]=1; a[0][1]=2; a[1][0]=2; a[1][1]=1; } else { sf(n/2); m=n/2; for(i=0;i
本文共 259 字,大约阅读时间需要 1 分钟。
#includeint m,s,n;int i,j;int a[100][100];int sf(int n){ if(n%2!=0) printf("输入参数不合法!"); else if(n==2) { a[0][0]=1; a[0][1]=2; a[1][0]=2; a[1][1]=1; } else { sf(n/2); m=n/2; for(i=0;i
转载于:https://www.cnblogs.com/wangyaning/p/4237037.html