摘要:
初始值M=20.输入N个人,每个人手里拿有一个密码。出去的那个人,他手上的密码就为M值。。求他们出来的顺序。#include <iostream>#include <malloc.h>int initM=20; // THe initial Musing namespace std;typedef struct LNode{ int no; int code; struct LNode *next;}LNode,*LinkList;void InitList(LinkList &L){ if(L==NULL){ L=(LinkList)malloc... 阅读全文
posted @ 2011-11-22 22:50
Jason Damon
阅读(411)
评论(0)
推荐(0)

浙公网安备 33010602011771号