#includestdio.h
typedef strUCt Node
{
int number;
int cipher;
struct Node *next;
}node,*hu;
hu H;//定义头结点为H;
init(int n)
{
int i;
int cipher;
hu L;
if(n=1)
{
scanf("%d",&cipher);
H=(hu)malloc(sizeof(node));//生成头结点;
H-number=1;
H-cipher=cipher;
H-next=H;
for(i=1;in;i++)
{
scanf("%d",&cipher);
L=(hu)malloc(sizeof(node));//生成副结点;
L-number=i+1;
L-cipher=cip...[ 查看全文 ]