#include <iostream>
#include<bits/stdc++.h>
using namespace std;
template <class ElemType>
class SqList
{
protected:
int count;
int maxSize;
ElemType *elems;
public:
SqList(int size = 10); // 构造函数模板
virtual ~SqList();
int Length() const;
bool Empty() const;
void Clear();
bool GetElem(int position, ElemType &e) const;
bool SetElem(int position, const ElemType &e);
void Traverse(void (*visit)(const ElemType &)) const;
bool Insert(int position, const ElemType &e);
void Difference (const SqList<ElemType> &la, const SqList<ElemType> &lb, SqList<ElemType> &lc);
};
template <class ElemType>
void Difference(co