BackgroundThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that dig...
分类:
其他好文 时间:
2014-11-26 20:37:15
阅读次数:
145
ASP中有关字符编码转换的几个有用函数= Dig+8 then GBStr=GBStr & ConvChinese(mid(UTFStr,Dig,9)) Dig=Dig+8 else GBStr=GBStr & mid(UTFStr,Dig,1) end if else GBStr=GBStr...
分类:
Web程序 时间:
2014-11-20 11:57:02
阅读次数:
264
This guide explain how to install dig dns tool on windows 7 in few steps:1. First go tohttp://www.isc.org/downloadsand look forBIND,underneathselect r...
【初次见面】我相信使用nslookup的同学一定比使用dig的同学多,所以还是有必要花些时间给大家介绍一下dig的。dig,和nslookup作用有些类似,都是DNS查询工具。dig,其实是一个缩写,即Domain Information Groper。一些专业的DNS管理员在追查DNS问题时,都乐...
分类:
其他好文 时间:
2014-11-13 12:50:39
阅读次数:
150
Plus OneGiven a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant dig...
分类:
其他好文 时间:
2014-11-10 21:45:39
阅读次数:
191
dig部分命令选项和示例 +[no]tcp ?使用或不使用tcp方式查询 +[no]vc 为与兼容之前版本提供的选项。作用同tcp选项。vc代表"virtual circuit" +[no]ignore 忽略被截短的udp返回包,而不是再使用tcp连接重试。默认情...
分类:
其他好文 时间:
2014-11-03 21:05:45
阅读次数:
258
挖掘机(dig.*)背景 附中机房谁最虚?高二一班***!感觉很顺,是吧?题目描述今天,丧尸czy开着挖掘机去上学(……)。但是他发现他的mz满天下,所以一路上他碰到了好多他的mz。一开始他以1km/min的速度(=60km/h……)开着挖掘机前进。他发现他只会在恰好到达某一时刻或者到达某个距离遇到...
分类:
其他好文 时间:
2014-10-31 15:15:15
阅读次数:
180
# 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.# Find the sum of all numbers which are equal to the sum of the factorial of their dig...
分类:
编程语言 时间:
2014-10-30 19:03:14
阅读次数:
209
Harry And Dig MachineTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 659Accepted Submission(s): 25...
分类:
系统相关 时间:
2014-10-29 21:17:13
阅读次数:
353
题目地址:HDU 5067
经典的TSP旅行商问题模型。状压DP。
先分别预处理出来每两个石子堆的距离。然后将题目转化成10个城市每个城市至少经过一次的最短时间模型。然后简单的状压DP即可。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#inc...
分类:
系统相关 时间:
2014-10-23 10:47:53
阅读次数:
270