int find(sqList *L,Elemtype x){ int i; for(i=0;i<L.length;i++){ if (L.data[i]==x) return i+1;//返回位序i+1 } return -1; }