#include<stdio.h>
#include<malloc.h>
#include<coino.h>
#definbe MaxSize50
typedef char ElemType;
typedef struct
{
ElemType data[MaxSzie];
int length;
}SqList;
void CreateList(SqList *&L,ElemType a[],int n)
{
L=(SqList *)malloc(sizeof(SqList));
for(int i=0;i<n;i++)
{
L->data[i]=a[i];
L->lemgth=n;}
}