图的定义 邻接矩阵 结构简单,操作方便 稀疏图将浪费大量的空间 邻接表 (类比 树 孩子表示法?) 操作复杂 注意邻接链表的结构体定义 不要搞混不要被绕晕啊! 嵌套太多了 有时用指针 还要看清给的int还是char typedef struct ArcNode { int adjvex; struc ...
分类:
其他好文 时间:
2020-06-14 18:36:30
阅读次数:
102
IDEA操作 快捷方式 psvm(main方法的快捷方式); sout(输出语句的快捷方式); 优化设置 启动 File-->>Setting 关闭自动更新:updates-->>取消勾选的Automatic······; 修改代码字体大小:Font‘ 创建空项目 File-->>Empty pro ...
分类:
其他好文 时间:
2020-06-14 18:23:04
阅读次数:
58
#多边形面积 改革春风吹满地 #include<bits/stdc++.h> using namespace std; struct point { double x,y; }node[10001]; double cosr(point a,point b,point c) { return (a. ...
分类:
其他好文 时间:
2020-06-14 16:51:40
阅读次数:
47
1 automapper .NET CORE 中使用AutoMapper进行对象映射 参考文档: https://blog.csdn.net/weixin_37207795/article/details/81009878 配置代码 using AutoMapper; using System; u ...
1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<malloc.h> 4 5 typedef struct Node//结构体 6 { 7 char data; 8 struct Node *LChild; 9 struct Node *RChi ...
分类:
其他好文 时间:
2020-06-14 16:27:40
阅读次数:
221
思维导图 算法小结 1. 邻接矩阵存储 1 #define MVNum 100 //最大顶点数 2 typedef char VerTexType;//假设顶点的数据类型为字符型 3 typedef int ArcType;//假设边的权值类型为整型 4 5 typedef struct 6 { 7 ...
分类:
其他好文 时间:
2020-06-14 11:08:49
阅读次数:
152
Intellij IDEA真是越用越觉得它强大,它总是在我们写代码的时候,不时给我们来个小惊喜。我决定把一些好用的Intellij IDEA技巧分享给大家。介绍一些你可能不知道的但是又实用的小技巧。
分类:
其他好文 时间:
2020-06-14 11:00:21
阅读次数:
70
插入与删除: #include <stdio.h> #define MaxSize 10 typedef struct { int data[MaxSize]; int length; }SqList; bool ListInsert(SqList &L, int i, int e) { if (i ...
分类:
其他好文 时间:
2020-06-14 10:48:53
阅读次数:
63
ES5继承 function Person(name, age) { this.name = name; this.age = age; } Person.prototype.sayName = function () { alert(`My name is ${this.name}.`); ret ...
分类:
Web程序 时间:
2020-06-14 10:29:21
阅读次数:
57
顺序表 线性表的第一个儿子 这个儿子的结构体定义: typedef int ElemType;//取别名 typedef struct link{ ElemType * head;//head是一个数组指针,不太清楚的同学,可以百度一下 ElemType length; ElemType size; ...
分类:
编程语言 时间:
2020-06-14 01:23:40
阅读次数:
81