struct BinaryTreeNode { int m_nValue; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight; }; bool HasSubTree(BinaryTreeNode* pRoot1, BinaryTreeNode* pR ...
分类:
其他好文 时间:
2021-02-18 13:43:33
阅读次数:
0
常用环境配置 要清理磁盘空间可以看这个文章:https://www.linuxprobe.com/disk-release.html 最简单的安装,结束以后先换源 apt install build-essential gcc make perl dkms # 之后安装vbox增强功能 # 基本工具 ...
分类:
系统相关 时间:
2021-02-17 15:13:48
阅读次数:
0
package main import ( "fmt" ) type Cat struct{ Name string Age int } func main(){ // 第一种方式,先声明再初始化 var cat1 Cat cat1.Name = "cat1" cat1.Age = 1 fmt.Pr ...
分类:
其他好文 时间:
2021-02-16 12:03:03
阅读次数:
0
\(\text{原题链接}\) \(\text{题目大意}\) 初始有一个长度为 \(n\) 的序列 \(a\),初始全 \(0\)。 共 \(m\) 次修改,每次修改 \((l,r,v)\),让 \(a_i = \max(a_i, v), (l\leq i\leq r)\)。求出所有操作后的 \( ...
分类:
其他好文 时间:
2021-02-15 12:15:44
阅读次数:
0
501 / 529 A HDU 5007 Post Robot 83 / 443 B HDU 5008 Boring String Problem !!! 111 / 784 C HDU 5009 Paint Pearls +++ 6 / 57 D HDU 5010 Get the Nut ??? ...
分类:
其他好文 时间:
2021-02-09 12:32:36
阅读次数:
0
#随便写个,引用下python的import this Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than com ...
分类:
其他好文 时间:
2021-02-09 11:44:21
阅读次数:
0
音频判断:librosa和 matplotlib Librosa是音频识别的包 matplotlib是音频转图片可视化的包 命令下载: pip install librosa -i https://mirrors.ustc.edu.cn/pypi/web/simple pip install mat ...
分类:
其他好文 时间:
2021-02-08 12:45:04
阅读次数:
0
题目描述: http://acm.hdu.edu.cn/showproblem.php?pid=1043 中文大意: 经典八数码问题。 给定初始状态,要求变换到目标状态并输出移动过程。 目标状态固定为:1 2 3 4 5 6 7 8 x 。 思路: 采用逆向 BFS + 康托展开判重 + 打表的方法 ...
分类:
其他好文 时间:
2021-02-08 12:12:13
阅读次数:
0
1、 *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_VREF_RELOAD?VREF 原因: 函数没有被调用 2、 *** WARNING L16: UNCALLED SEGMENT, IGN ...
分类:
其他好文 时间:
2021-02-06 11:51:33
阅读次数:
0
说明 共用了两种方法进行检测 方法1: 使用opencv的canny进行边缘检测,在此之前先变灰和加入高斯模糊 方法2: 对图片二值化,随后找到关键点,并在空白画板画关键点 代码 import cv2 as cv import numpy as np # 读路径下的图片 img = cv.imrea ...
分类:
其他好文 时间:
2021-02-05 10:53:28
阅读次数:
0