答案有问题,还未解决
#include <iostream>
#include <stdio.h>
using namespace std;
#define MaxSize 6
typedef int ElemType;
typedef struct{
ElemType data[MaxSize];
int length;
}SqList;
void init(SqList &L){
for(int i=0;i<MaxSize;i++){
cin>>L.data[