码迷,mamicode.com
首页 > 其他好文
composer 的快速安装
Packagist 镜像 请各位使用本镜像的同学注意: 本镜像已经依照 composer 官方的数据源安全策略完全升级并支持 https 协议!请各位同学 按照下面所示的两个方法将 http://packagist.phpcomposer.com 修改为 https://packagist.phpc ...
分类:其他好文   时间:2016-10-09 09:04:43    阅读次数:193
Your Ride Is Here
题解: 模拟。 将这两个字符串每一个字符所对应的数字相乘,在mod 47判断是否相同(注意:相同GO,不相同STAY)。 { ID:h1956701 LANG:PASCAL PROB:ride } var s1,s2:ansistring; function pd(s:ansistring):lon ...
分类:其他好文   时间:2016-10-09 09:06:25    阅读次数:113
技术博客
...
分类:其他好文   时间:2016-10-09 09:04:08    阅读次数:110
几个好东西:SeaweedFS ShowDoc SparkleShare Syncany syncloud FTPbox
https://github.com/chrislusf/seaweedfs https://github.com/star7th/showdoc https://github.com/hbons/SparkleShare https://github.com/syncany/syncany (支持 ...
分类:其他好文   时间:2016-10-09 09:02:26    阅读次数:132
How to order your eggs?
learning how to order eggs is really important!sunny side up : 煎一面荷包蛋over easy egg: 煎双面,蛋黄没熟over medium egg:煎双面,蛋黄有一点硬fried egg:全熟鸡蛋scramble egg:炒蛋 bo ...
分类:其他好文   时间:2016-10-09 09:02:46    阅读次数:179
Greedy Gift Givers
题解: 模拟。 照着他的过程(看看提示)模拟下去就行了。 { ID:h1956701 LANG:PASCAL PROB:gift1 } var n,i,k,j,m:longint; s:ansistring; a:array[0..11]of ansistring; b,c:array[0..11] ...
分类:其他好文   时间:2016-10-09 09:03:05    阅读次数:111
Broken Necklace
题解: 模拟。 枚举每一个地方断开,之后从断开点往前、往后寻找连续子序列就行了,不过要注意w的处理,还有答案不可能超过n。 { ID:h1956701 LANG:PASCAL PROB:beads } var l,i,x,ans:longint; s,s1:ansistring; function ...
分类:其他好文   时间:2016-10-09 09:01:24    阅读次数:105
60. Permutation Sequence
The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order,We get the following sequence ...
分类:其他好文   时间:2016-10-09 07:26:33    阅读次数:196
GnuRadio Hacking ①:使用GnuRadio+SDR破解固定码无线遥控
0×01 信号捕获 在这篇文章中,我们将使用GnuRadio+SDR硬件对某品牌型号的无线跳蛋进行无线重放攻击的演示。 市面上常见的无线遥控工作的频段,通常工作在315Mhz、433Mhz,也有少数的会采用868Mhz.915Mhz这几个频点。 我们可以用电视棒、HackRF、BladeRF等SDR ...
分类:其他好文   时间:2016-10-09 07:24:26    阅读次数:556
nginx添加sticky cookie 分流模块
需要下载nginx源码和sticky,在nginx配置文件中添加sticky模块,然后重新编译nginx。 #准备安装基础环境:yum install gcc openssl-devel pcre-devel zlib-devel#下载nginx1.6.3wget http://nginx.org/ ...
分类:其他好文   时间:2016-10-09 07:24:26    阅读次数:365
16. 3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. ...
分类:其他好文   时间:2016-10-09 07:24:25    阅读次数:191
测试思路
认证页: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-wid ...
分类:其他好文   时间:2016-10-09 07:23:51    阅读次数:241
374. Guess Number Higher or Lower
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
分类:其他好文   时间:2016-10-09 07:23:17    阅读次数:191
Snapchat - Amicable Pair
Amicable number(相亲数)定义: 相亲数(Amicable Pair),又称亲和数、友爱数、友好数,指两个正整数中,彼此的全部约数之和(本身除外)与另一方相等。 例如220与284: 220的全部约数(除掉本身)相加是:1+2+4+5+10+11+20+22+44+55+110=284 ...
分类:其他好文   时间:2016-10-09 07:25:06    阅读次数:234
61. Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- ...
分类:其他好文   时间:2016-10-09 07:23:11    阅读次数:202
文件过滤驱动实现目录重定向(一)good
文件过滤驱动拦截的IRP主要包括以下几个:IRP_MJ_CREATE,文件创建操作,文件的任何操作,都是从这里开始的。IRP_MJ_CLEANUP,文件的HANDLE句柄全部关闭会触发这个消息IRP_MJ_CLOSE,文件对象 FILE_OBJECT引用减为0,文件对象即将被删除时触发。IRP_MJ ...
分类:其他好文   时间:2016-10-09 07:24:26    阅读次数:260
35. Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:其他好文   时间:2016-10-09 07:21:01    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!