法一:并查集
分析示例1: a / b 2.0 a/ b 2.0 a/b2.0,说明 a 2 b a2b a2b, a a a和 b b b在同一个集合中 b / c 3.0 b/c3.0 b/c3.0,说明 b 3 c b3c b3c, b b b和 c c c在同一个集合中
求 a / c a/…
1、新建ToDoController.cs继承基础控制器BaseApiController,但是一般业务代码不写在控制器内,业务代码写在Service,先新建统一返回值格式ApiResponse.cs:
public class ApiResponse{public ApiResponse(bool status, string mess…
目录 生成SSH公钥通过 ssh-keygen 程序创建找到SSH公钥 在gitee中添加公钥 生成SSH公钥
通过 ssh-keygen 程序创建
shell> ssh-keygen -t rsa -C "xxxxxx.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rs…