#include
void hui(Fq *head)
{
Fq *p=head->next;p->before=head;
int no=0;
cout<>no;
while(p!=NULL)
{
if(p->no==no)
{
free(p);
cout<
return ;
}else{
p=p->next;
}
}
}
void alloc(int b,int no,Fq *p)
{
while(p!=NULL)
{
if(p->o==1){p=p->next;}
else
{
if(p->size>b)
{
if(p->size-b<=min_size)
{
p->o=1;p->no=no;
}else{
Fq *q=new Fq;Fq *r;
r=q->before;
r->next=q;q->before=r;
q->next=p;p->before=q;
q->size=b;
p->size&#