首先安装github # yum install git 完成之后 https://help.github.com/articles/generating-ssh-keys/#platform-linux 官方设置教程在这个网址下 我来说明一下我的配置 ssh-keygen -t rsa -b 40 ...
分类:
系统相关 时间:
2016-12-24 16:23:01
阅读次数:
228
Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the pers ...
分类:
其他好文 时间:
2016-12-22 06:56:53
阅读次数:
153
本题的特点在于两个list nums1和nums2都是已经排序好的。本题如果把所有的(i, j)组合都排序出来,再取其中最小的K个。其实靠后的很多组合根本用不到,所以效率较低,会导致算法超时。为了简便,把nums1和nums2里面的元素写成A1,A2,...,A5, B1,...,B5. 维护一个最 ...
分类:
其他好文 时间:
2016-12-22 06:47:17
阅读次数:
169
转自:https://www.bluetooth.com/specifications/assigned-numbers/generic-access-profile ??Assigned numbers are used in GAP for inquiry response, EIR data ...
分类:
数据库 时间:
2016-12-20 13:42:09
阅读次数:
378
In short, we have some sort of algorithms to gen pair of private and public keys. The public key is stored in a certificate and the private key is usu ...
分类:
其他好文 时间:
2016-12-19 18:35:19
阅读次数:
184
function pair(str) { //return str; var arr = str.split(''); var pait = ''; var result = arr.map(function(item,index,array){ if(item === 'A'){ pait = '... ...
分类:
其他好文 时间:
2016-12-19 13:38:02
阅读次数:
172
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum ...
分类:
其他好文 时间:
2016-12-18 01:29:05
阅读次数:
138
题目链接:http://hihocoder.com/problemset/problem/1196 ...
分类:
其他好文 时间:
2016-12-12 22:40:29
阅读次数:
172
http://www.lightoj.com/volume_showproblem.php?problem=1062 题意:问两条平行边间的距离,给出从同一水平面出发的两条相交线段长,及它们交点到水平面的高。 思路:计算几何怎么可能直接算出答案orz解了好久方程觉得不对,应该是二分枚举平行边的距离, ...
分类:
其他好文 时间:
2016-12-11 01:33:11
阅读次数:
193