name:包名,唯一,由小写字符、数字和下划线组成,不能有空格preferglobal:是否支持全局安装,true表示支持descrition:描述version:版本号author:作者信息数组maintainers:维护者数组bugs:bug提交地址licenses:许可证数组repositor...
分类:
Web程序 时间:
2015-06-11 14:17:26
阅读次数:
111
题目:http://poj.org/problem?id=2096显然可以得到状态 $f(i,j)$ 表示集齐了i种BUG,来自于j个系统距离集齐的期望步数。然后有$f(i,j) -> f(i,j) \ P0 = i/n \cdot j/m$$f(i+1,j) -> f(i,j)\ P1 = (1-...
分类:
其他好文 时间:
2015-06-09 23:26:34
阅读次数:
102
题目链接:http://poj.org/problem?id=2096
题意:
一个软件有s个子系统,会产生n种bug。
某人一天发现一个bug,这个bug属于某种bug,发生在某个子系统中。
求找到所有的n种bug,且每个子系统都找到bug,这样所要的天数的期望。
需要注意的是:bug的数量是无穷大的,所以发现一个bug,出现在某个子系统的概率是1/s,...
分类:
其他好文 时间:
2015-06-09 10:05:28
阅读次数:
131
题目链接:http://poj.org/problem?id=2096题目大意:有n种bug,有s个子系统。每天能够发现一个bug,属于一个种类并且属于一个子系统。问你每一种bug和每一个子系统都发现bug需要多少天。设dp[i][j]为现在发现了i种bug,在j个子系统内,到目标状态需要的期望天数...
分类:
其他好文 时间:
2015-06-07 13:47:46
阅读次数:
82
什么是 clean code ?大神对优雅代码的定义: I like my code to be elegant and efficient. The
logic should be straightforward to make it hard
for bugs to hide, the dependencies minimal to
ease maintenance, error han...
分类:
其他好文 时间:
2015-06-06 09:12:49
阅读次数:
112
10. If debugging is the process of removing software bugs, then programming must be the process of putting them in. – Edsger Dijkstra如果调试程序是移除臭虫(软件缺陷)...
分类:
其他好文 时间:
2015-05-31 20:08:19
阅读次数:
133
传送门:A Bug's LifeDescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two ...
分类:
其他好文 时间:
2015-05-29 15:34:04
阅读次数:
124
打开Eclipse->Help->Install New Software,输入要下载的软件以及地址键入FindBugs的下载地址,对FindBugs进行下载,下载完毕之后,重启Eclipse,就发现项目右键多了条目点击Find Bugs进行代码分析,可选操作:window->Show View->...
分类:
数据库 时间:
2015-05-22 13:03:49
阅读次数:
165
离线安装下载Findbugs插件,注意一定要选择findbugs plugin for eclipse,将它放入Eclipse下的plusin文件夹,然后重启EclipseFindbugs的Eclipse插件使用 安装了Findbugs插件后。右击点击你要检查的项目选择【Find Bugs】->【F...
分类:
数据库 时间:
2015-05-21 21:40:36
阅读次数:
168
离线安装下载Findbugs插件,注意一定要选择findbugs plugin for eclipse,将它放入Eclipse下的plusin文件夹,然后重启EclipseFindbugs的Eclipse插件使用 安装了Findbugs插件后。右击点击你要检查的项目选择【Find Bugs】->【F...
分类:
数据库 时间:
2015-05-21 18:46:42
阅读次数:
165