include
using namespace std;
const int maxlen=20010;
typedef struct
{
int *elem;
int length;
}List;
void crelist(List &l,int x)
{
l.elem=new int[maxlen];
l.length=x;
for(int i=0;i
using namespace std;
const int maxlen=20010;
typedef struct
{
int *elem;
int length;
}List;
void crelist(List &l,int x)
{
l.elem=new int[maxlen];
l.length=x;
for(int i=0;i