题目的意思在于,更高效的Collect Gold;然后合理的安排生产出来的士兵;我对战的是简单的电脑// This code runs once per frame. Build units and command peasants!// Destroy the ogre base within 1...
分类:
其他好文 时间:
2014-09-14 11:15:06
阅读次数:
357
一、pxPixel像素不解析二、dpidpi(Dots Per Inch):每英寸点数,即屏幕对角线像素值÷英寸值比如480x800分辨率4.0英寸的手机计算的DPI=三、dpdp(与dip相同):在每英寸160点的显示器上,1dp = 1px,即px = dp(dpi/160)假设两块屏幕尺寸一样...
分类:
移动开发 时间:
2014-09-12 19:03:53
阅读次数:
245
如下是php.ini中的原文说明以及默认配置: ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory or ; per-...
分类:
Web程序 时间:
2014-09-11 17:39:22
阅读次数:
209
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique per...
分类:
其他好文 时间:
2014-09-08 00:55:26
阅读次数:
269
主干网,连接省与省,国家与国家之间的网络线路,通常采用光纤做主干线。 带宽: 表示频带宽度: 信号的带宽是指该信号所包含的各种不同频率成分所占据的频率范围。 表示通信线路所能传送数据的能力:在单位时间内能够在线路上传送的数据量。 常用bps(bit per second) 帧: 是...
分类:
其他好文 时间:
2014-09-07 13:28:25
阅读次数:
211
本文用于记录一些常见的缩写:QPS:QPS每秒查询率(Query Per Second)。每秒查询率QPS是对一个特定的查询服务器在规定时间内所处理流量多少的衡量标准,在因特网上,作为域名系统服务器的机器的性能经常用每秒查询率来衡量。pv:页面浏览量来自浏览器的一次html内容请求会被看作一个PV,...
分类:
其他好文 时间:
2014-09-05 19:39:31
阅读次数:
169
C. Appleman and a Sheet of Papertime limit per test2 secondsmemory limit per test256 megabytesAppleman has a very big sheet of paper. This sheet has a...
分类:
移动开发 时间:
2014-09-05 14:19:31
阅读次数:
368
现象,这个网站我总计能抽取将近500个URL,但实际只抽取了100条解析:nutch默认从一个页面解析出的链接,只取前 100 个。 db.max.outlinks.per.page 100 The maximum number of outlinks that we'll process ...
分类:
其他好文 时间:
2014-09-05 12:46:31
阅读次数:
162
快速幂模+佩尔方程#include #include #include #include const int Mod=8191;struct Matrax { int m[3][3];};Matrax a,per;void slove(int d,int &x1,int &y1){ y1=1; wh...
分类:
其他好文 时间:
2014-09-04 22:13:20
阅读次数:
233
浙大acm,第一题 Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line. Output For each pair of input integers a ...
分类:
编程语言 时间:
2014-09-03 06:16:56
阅读次数:
260