摘要: c++ 语法 sort(begin, end, cmp) 示例 sort(res.begin(),res.end(),[](const auto& a,const auto& b){ return (a[1]>b[1])||(a[1]==b[1]&&a[0]>b[0]); }); sort(res. 阅读全文
posted @ 2021-02-07 17:43 imageSet 阅读(136) 评论(0) 推荐(0) 编辑
摘要: https://bbs.huaweicloud.com/blogs/163253 阅读全文
posted @ 2020-05-16 00:18 imageSet 阅读(621) 评论(0) 推荐(0) 编辑
摘要: containerd.io - daemon to interface with the OS API (in this case, LXC - Linux Containers), essentially decouples Docker from the OS, also provides co 阅读全文
posted @ 2020-04-25 00:00 imageSet 阅读(17110) 评论(0) 推荐(2) 编辑
摘要: 什么时候应该使用BFS 图的遍历: 1. 层级遍历 2. 由点及面 3. 拓扑排序 最短路径: 仅限简单图(图中每条边长度都是1,且没有方向)求最短路径。 二叉树的基本概念一、二叉树的概念:一棵二叉树是节点的一个有限集合,该集合或者为空,或者由一个根节点加上两棵左子树和右子树组成 二、二叉树的特点: 阅读全文
posted @ 2020-04-03 22:39 imageSet 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 目的 将两块空硬盘合并为“一块”,挂载到指定目录下,达到在一个目录使用2块硬盘所有空间的效果。 条件 硬盘1 /dev/sdb硬盘2 /dev/sdc 方法 创建pvpvcreate /dev/sdb //硬盘1pvcreate /dev/sdc //硬盘2使用pvscan命令可以扫描系统中连接的所 阅读全文
posted @ 2020-03-31 14:18 imageSet 阅读(858) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/78487aae5fbe 阅读全文
posted @ 2020-03-19 22:10 imageSet 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 虽然树莓派可以安装arm架构的miniconda,但是使用miniconda安装时会有问题,所以需要使用pip进行安装。 阅读全文
posted @ 2020-03-19 19:22 imageSet 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 很多教程给的url都没有经过测试,两个需要修改的文件及写入的文本如下: # /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rp 阅读全文
posted @ 2020-03-19 19:13 imageSet 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-24 10:07 imageSet 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 内置异常的类层级结构如下:BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- StopAsyncIteration +-- Arithmeti 阅读全文
posted @ 2019-11-19 00:27 imageSet 阅读(298) 评论(0) 推荐(0) 编辑