摘要:
#include "stdafx.h"#include <ostream>#include <stdio.h>int main(){int N;int s,i,j;int squa;/*分配空间*/scanf("%d",&N);int **a = (int**)malloc(N*sizeof(int));if(a==NULL)return 0;for (i=0;i<N;i++){if((a[i]=(int*)malloc(N*sizeof(int)))==NULL){while(--i>=0)free(a[i] 阅读全文