public class Solution { public int NumberOf1Between1AndN_Solution(int n) { int count=0; for(int i=1;i<=n;i++){ count+=core(i); } re... ...
分类:
其他好文 时间:
2017-10-13 18:58:48
阅读次数:
93
How to use SKP1000 car key programmer to program Ford Focus 2014 none-smart folding Key without security pin code. Top 7 reasons to get SKP1000 Tablet ...
分类:
其他好文 时间:
2017-10-13 14:55:53
阅读次数:
256
#!/usr/bin/env bash echo "=============START=====================" ## php echo '[php]yum install php php-fpm php-gd php-mcrypt php-pear php-mysql php-... ...
分类:
Web程序 时间:
2017-10-13 14:17:09
阅读次数:
207
问题: hadoop启动的时候报错 HTTP ERROR 500 Problem accessing /nn_browsedfscontent.jsp. Reason: Cannot issue delegation token. Name node is in safe mode. The rep ...
分类:
其他好文 时间:
2017-10-13 12:43:41
阅读次数:
126
CodeForces 863E 题意:有 n 台电视,每台电视会在 [li, ri] 时间段工作。要你找出一台空闲的电视,空闲定义:设有任意一台电视在工作的总时间为 sum,把第 i 台电视删去, sum 不会减少,则第 i 台电视是空闲的。 tags:想不出来,看了题解。。还是挺有意思的题 要找一 ...
分类:
其他好文 时间:
2017-10-12 21:33:17
阅读次数:
163
隐藏版本号 隐藏nginx的版本号很简单,nginx的HttpCoreModule提供了一条叫做server_tokens指令,我这要将这条指令设置为“server_tokens off”就可以了。 首先访问一下,看一下现有的版本: 通过访问我得到的是“Server: nginx/0.8.53”。 ...
分类:
其他好文 时间:
2017-10-12 19:03:56
阅读次数:
140
阿里云公开的CentOS镜像将IPv6支持给去掉了,需要加载相关模块。通过HE的tunnelbroker开启IPv6隧道使国内VPS支持IPv6地址。 1. vim /etc/modprobe.d/disable_ipv6.conf alias net-pf-10 off options ipv6 ...
分类:
其他好文 时间:
2017-10-12 17:03:45
阅读次数:
1100
Power OFF and ON USB device in linux (ubuntu) http://loginroot.com/power-off-and-on-usb-device-in-linux-ubuntu/ There are two methods of doing this. S ...
分类:
系统相关 时间:
2017-10-12 15:43:14
阅读次数:
403
一、题目 如果一个数的因子中,出去1和本身以外,质数因子只包含2、3和5,则把改数称作丑数(Ugly Number)。例如6、8都是丑数,但14不是,因为它包含质数因子7。 习惯上我们把1当做是第一个丑数。求按从小到大的顺序的第N个丑数。 注释: 8的因子有1,2,4,8,出去1和8以后,还有因子2 ...
分类:
其他好文 时间:
2017-10-12 10:29:34
阅读次数:
99