need to optimize
Daria·Saira
这个作者很懒,什么都没留下…
展开
-
Windows环境安装Matplotlib等package的问题及解决办法
background : 要用word cloud 0x01 安装word cloud error : 依赖两个package numpy 手动安装 pip自动安装第二个依赖包 成功安装word cloud 0x02 使用时调用Matplotlib --> error 0x03 安装Matplotlib --> learn error : lack of dependen...原创 2019-05-08 17:42:04 · 444 阅读 · 0 评论 -
C_Polynomial multiplication and addition_190509
Polynomial multiplication and addition – realize by C notice : complement the code mathematical model data struct struct polynode{ int coef;//系数 int expon;//指数 struct polynode *link;//point to ...原创 2019-05-09 21:02:23 · 205 阅读 · 0 评论 -
struct_chapter2.3_queue_190508
struct_chapter2.3_queue 2.3.1 sequential queue concept queue 入队:addQ 出队:deleteQ features 先来先服务 先进先出(FIFO) ADT realization of sequential queue special status Circular queue key point : ...原创 2019-05-09 22:46:02 · 241 阅读 · 0 评论 -
Struct_chapter3_Tree
Struct_chapter3_Tree 3.1 tree and the expression of tree concept of tree an excellent struct to expresses hierarchical relationship(层次关系) more efficienct Searching 0x01 static searching notice :...原创 2019-05-14 21:43:26 · 386 阅读 · 0 评论 -
C_test8_190511
C_test8_190511 question 1 题目内容: 你的程序要读入一行文本,其中以空格分隔为若干个单词,以‘.’结束。你要输出这行文本中每个单词的长度。这里的单词与语言无关,可以包括各种符号,比如“it’s”算一个单词,长度为4。注意,行中可能出现连续的空格。 输入格式: 输入在一行中给出一行文本,以‘.’结束,结尾的句号不能计算在最后一个单词的长度内。 输出格式: 在一行中输出这...原创 2019-05-12 14:06:52 · 88 阅读 · 0 评论 -
Struct_graph&MST_190706
Struct_graph&MST MST Attribute of MST MST Solution Greedy algorithm Prime<=nlogn Prim算法中的dist[V]应该初始化为 E(s,V)(weight–存在临接关系) 或 正无穷(无临接边) 认为每一个点均为一颗树(森林),通过收容weight最小边将多棵树(森林)连接...原创 2019-07-06 17:47:54 · 130 阅读 · 0 评论