title: 数据结构 | 图-5 | 拓扑排序 date: 2019-11-27 17:14:58 tags: 数据结构 拓扑排序、关键路径 拓扑排序 背景 顶点——表示课程 有向弧——表示先决条件,若课程i是课程j的先决条件,则图中有弧<i,j> 拓扑排序 学生应按怎样的顺序学习这些课程,才能无 ...
分类:
编程语言 时间:
2020-08-17 17:26:16
阅读次数:
79
一、开发模式 MVC模式: model:数据库 view:前端展示 controller:逻辑控制MTV模式 model:数据库 view:逻辑控制 template:前端展示 二、Django介绍 flask,FastApi是轻量级服务端开发框架 Django是重量级服务端开发框架 ORM:封装了 ...
分类:
其他好文 时间:
2020-08-15 22:39:46
阅读次数:
81
input用户交互函数使用input函数需要用户键盘输入变量,多种表达方式注意在python中“”与‘’是没区别的,所见即所得,未加“”表示引用变量,在shell“”会进行转义name=input("yourname:")print(input("yourname:"))yourname:dwl常用占位符%d整数%f浮点数%s字符串%x十六进制整数使用方法:tpl="iam%s"%"alex"##
分类:
编程语言 时间:
2020-08-13 22:10:52
阅读次数:
103
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n ...
分类:
其他好文 时间:
2020-08-13 12:42:41
阅读次数:
61
1.1 cat -n httpd.conf | more -n 显示每一行编号 more 用于分屏显示文本; 1.2 echo 显示一行文本 -n 不输出行尾的换行符. -e 允许对下面列出的加反斜线转义的字符进行解释. -E 禁止对在STRINGs中的那些序列进行解释. --help 显示帮助并退 ...
分类:
系统相关 时间:
2020-08-13 12:32:28
阅读次数:
89
This example shows how to implement the HARQ Indicator (HI) and physical HI channel (PHICH). You create the processing chain of coding hybrid indicato ...
分类:
其他好文 时间:
2020-08-13 12:11:36
阅读次数:
61
新建一个空的文件夹作为项目的目录,并在目录下执行 yarn create umi 或者 npm create umi 如果不创建空目录,可以执行 yarn create umi appname 或者 npm create umi appname 选择ant design pro Select the ...
分类:
其他好文 时间:
2020-08-12 15:54:48
阅读次数:
78
This is an in-detail account of the Raspberry Pi boot process collected from various sources, mainly from the official forums. First, you need to know ...
分类:
Web程序 时间:
2020-08-12 15:43:48
阅读次数:
87
数组能够在单个变量中存储多个值: 实例 <?php $cars=array("Volvo","BMW","Toyota"); echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . "."; ?> 数组是什么? 数组是一个 ...
分类:
编程语言 时间:
2020-08-11 13:10:06
阅读次数:
95
public class MinStack { /** initialize your data structure here. */ Stack<Integer> stack = new Stack<>(); private int min = Integer.MIN_VALUE; List<In ...
分类:
其他好文 时间:
2020-08-10 22:08:46
阅读次数:
86