int GetCount(SqList L, ElemType e){
int num=0;
if(L.length==0) return 0;
int x=L.length;
while(x>=0){
if(L.elem[x]==e) num++;
x--;
}
return num;
}int GetCount(SqList L, ElemType e){
int num=0;
if(L.length==0) return 0;
int x=L.length;
while(x>=0){
if(L.elem[x]==e) num++;
x--;
}
return num;
}int GetCount(SqList L, ElemType e){
int num=0;
if(L.length==0) return 0;
int x=L.length;
while(x>=0){
if(L.elem[x]==e) num++;
x--;
}
return num;
} |