In i.MX Yocto Project User's Guide document Quick Start part: Install the `repo` utility:To get the BSP you need to have "repo" installed. This only n ...
分类:
Web程序 时间:
2020-04-09 14:16:23
阅读次数:
102
1.题目 可以删除一个字符,判断是否能构成回文字符串。: Input: "abca" Output: True Explanation: You could delete the character 'c'. 2.代码实现: class Solution(object): def validPali ...
分类:
其他好文 时间:
2020-04-09 12:48:40
阅读次数:
74
源码阅读目的是为了了解Java原理,学习优秀的类设计,整体阅读顺序和侧重主要参考基础类和常用类,参考网上整体归纳如下:包java.lang1)Object12)String13)AbstractStringBuilder14)StringBuffer15)StringBuilder16)Boolean27)Byte28)Double29)Float210)Integer211)Long212)Sh
分类:
编程语言 时间:
2020-04-09 11:04:16
阅读次数:
114
#1. find方法可以在一个较长的字符串中查找子串,他返回子串所在位置的最左端索引,如果没有找到则返回-1 a = 'abcdefghijk' print(a.find('abc')) #the result : 0 print(a.find('abc',10,100)) #the result ...
分类:
其他好文 时间:
2020-04-09 09:14:44
阅读次数:
82
struct union_find_set { int father[MAXN];//每个元素的祖先 union_find_set(int limit)//构造函数,对于每一个元素,其父亲初始化为它本身 { for(int i=1;i<=limit;i++) { father[i]=i; } } i ...
分类:
其他好文 时间:
2020-04-08 22:47:17
阅读次数:
89
这是一个非常经典的带权并查集,有两种写法。 1 边权并查集 规定一下,当x和y这条边的权值为0时,表示x和y是同类,当为1时,表示x吃y,当为2时,表示x被y吃。 一共有三种状态,如图,当A吃B,B吃C时,C必须吃A,路径压缩后,A被C吃。 然后就是带权并查集的模板了。 判断条件,当x和y在同一颗树 ...
分类:
其他好文 时间:
2020-04-08 22:17:26
阅读次数:
73
git版本略低,引发的血案 原本部署在阿里云上的项目,准备放到内网jenkins上发布,配置完成后发版,jenkins变红了,详细错误信息如下 经查git版本为1.7过低了 所以卸载git,重装,yum用不了,yum升级 yum升级 [Errno 14] Could not open/read fi ...
分类:
其他好文 时间:
2020-04-08 14:51:00
阅读次数:
139
$(".delRow").addClass("focus").css("pointer-events","none"); $('.datagrid-cell-check').find('input').addClass("focus").css("pointer-events","none"); ...
分类:
其他好文 时间:
2020-04-08 13:38:54
阅读次数:
87
jdbc.properties url=jdbc:mysql:///db3 user=root password=root driver=com.mysql.jdbc.Driver JDBCUtils.java import java.io.FileReader; import java.io.IO ...
分类:
数据库 时间:
2020-04-08 12:25:36
阅读次数:
98
题目描述 Given the relations of all the activities of a project, you are supposed to find the earliest completion time of the project. Input Specification ...
分类:
其他好文 时间:
2020-04-08 12:23:10
阅读次数:
78