原题链接 考察:并查集基础 在读入学生团体的时候,没必要用数组存储,直接将他们并入树中即可,注意:当我们计算人数的时候,已经在一个集合中的人不能重复计算 当时看y总犯了这个错误,结果自己写又错了233 1 #include <iostream> 2 #include <cstdio> 3 using ...
分类:
其他好文 时间:
2021-01-06 11:59:44
阅读次数:
0
环境: pop_os(ubuntu18) cuda9 opencv3.2 GTX1070 darknet框架 官方网站:https://pjreddie.com/darknet/ 编译框架可能要根据自己的需要更改Makefile(我就根据我自己的情况更改了链接路径,因为我的opencv和cuda安装 ...
分类:
其他好文 时间:
2021-01-06 11:42:12
阅读次数:
0
采集1688发布到opencart视频演示 也可以zencart ,magento 需要的联系淘宝 淘宝地址:https://51caiji.taobao.com/ 接口采集,可实现功能。 1、自动分类;分类格式,分类1|||分类22、自动添加选项:颜色、尺码这样的选项;3、自动加属性:4、可以利用 ...
分类:
其他好文 时间:
2021-01-05 11:15:02
阅读次数:
0
参考:https://labuladong.gitbook.io/algo/di-ling-zhang-bi-du-xi-lie/bfs-kuang-jia 问题: 求从【0000】四位密码锁初始状态,最少经过几步,能找到给定目标秘密target 另,其中若转到给定deadends的密码,则永远打不 ...
分类:
其他好文 时间:
2021-01-05 10:54:46
阅读次数:
0
原题链接 KMP+标准化+最大最小表示法 错误思路: 看到这题的第一反应是破环成链思想,枚举它能循环得到的字符串...算了下时间复杂度大概率TLE,看了别人的提示才反应过来是标准化... 正确思路: 像这种一种表示多种形态的字符串大概率用标准化了,我们用最小最大表示法求最大或最小值,用set或map ...
分类:
其他好文 时间:
2021-01-05 10:48:42
阅读次数:
0
package mainimport ( "os/exec" "syscall")// open opens the specified URL in the default browser of the user.func main() { // 无GUI调用 cmd := exec.Comman ...
There are many ways to load text data file into the database. In general, we would use applications that database service providers' product. For exam ...
分类:
其他好文 时间:
2021-01-05 10:36:37
阅读次数:
0
在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } ...
分类:
其他好文 时间:
2021-01-04 11:32:56
阅读次数:
0
今天执行:net start MongoDB 开启服务时,出现服务名无效问题。 百度搜了一些文章,终于找到了解决办法: 1、新建db文件夹和log文件夹 2、新建mongo.config文件 dbpath=D:\Program Files\MongoDB\Server\4.2\data\db log ...
分类:
数据库 时间:
2021-01-04 11:27:12
阅读次数:
0
一、python的组合数据类型 (一) 列表 1、定义:有序、可变的元素集合 2、列表的创建 1 #空列表的创建 2 vacant_lst1 = [] 3 vacant_lst2 = list() 4 5 #非空列表的创建 6 lst = ["张三","李四","王五"] View Code 3. ...
分类:
编程语言 时间:
2021-01-04 11:18:44
阅读次数:
0