{#include
using namespace std;
struct Rect{
int width;
int height;
int area;
Rect *next;
};
Rect *head;
Rect* getNode();
void Create(){
if((head=getNode())==NULL)
return;
for(Rect *pE=head, *pS; pS=getNode(); pE=pS)
pE->next=pS;
}
int main()
{
Rect *temp;
Create();
if(head==NULL)
return -1;
for(Rect* p=head; p;)
{
cout<<p->width*p->height<<endl;
temp=p;
p=p->next;
delete temp;
}
return 0;
}// 在此处补充你的代码
}