![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
qinchun_bei
这个作者很懒,什么都没留下…
展开
-
3-16线性链表
一、单链表:data-nexttypedef struct LNode{ElemType data;struct LNode *next;}LNode,*LinkList;1.头插法建立链表:LinkList CreatList1(LinkList &L){LNode *s;int x;L=(LinkList)malloc(sizeof(LNode));L->next=NULL;//...原创 2018-03-16 21:48:54 · 180 阅读 · 0 评论 -
cygwin获取root权限
许多攻略说到要修改etc下的passwd文件,但是我在安装cygwin后,etc下并没有passwd文件,所以为了获取root权限需要自己创建passwd文件来导入windows的信息。命令如下:$mkpasswd -l>etc/passwd创建了passwd文件,接着我们需要修改etc下的passwd文件:Administrator:*:197108:197121:U-DE...原创 2019-04-09 15:55:46 · 1625 阅读 · 0 评论 -
P、NP以及NPC问题
P、NP、NPC概念 > P问题:能够在多项式时间内解决的决策问题。 —举例: 图搜索问题、最短路径问题、最小生成...转载 2019-09-20 09:38:51 · 638 阅读 · 0 评论 -
Fiduccia-Mattheyses algorithm概述
Fiduccia-Mattheyses algorithm1.简介以下是维基百科的原文简介:FM algorithm is a linear time heuristic for improving network partitions. New features to K-L heuristic:Aims at reducing net-cut costs; the co...转载 2019-09-20 17:09:30 · 2621 阅读 · 1 评论