功能测试(黑盒测试)性能测试(白盒测试)用户需求测试测试常用工具黑盒测试的方法:等价类划分、边值分析、因果图、猜错、综合白盒测试的方法:逻辑覆盖(语句覆盖、判定覆盖、条件覆盖、判定/条件覆盖、多重条件覆盖)测试常用工具开源测试管理工具:Bugfree、Bugzilla、TestLink、mantis...
分类:
其他好文 时间:
2015-09-17 09:56:47
阅读次数:
151
上一篇总结了潜在语义分析(Latent Semantic Analysis, LSA),LSA主要使用了线性代数中奇异值分解的方法,但是并没有严格的概率推导,由于文本文档的维度往往很高,如果在主题聚类中单纯的使用奇异值分解计算复杂度会很高,使用概率推导可以使用一些优化迭代算法来求解。Thomas H...
分类:
其他好文 时间:
2015-09-17 09:54:46
阅读次数:
300
canvas时钟
分类:
其他好文 时间:
2015-09-17 09:55:33
阅读次数:
189
企业版简体中文版:http://download.microsoft.com/download/B/8/F/B8F1470D-2396-4E7A-83F5-AC09154EB925/vs2015.ent_chs.iso VisualStudio 2015 EnterpriseHM6NR-QXX7C-...
分类:
其他好文 时间:
2015-09-17 09:53:01
阅读次数:
133
Problem:Given two strings S and T, determine if they are both one edit distance apart.General Analysis:This problem is not hard. However, to write out...
分类:
其他好文 时间:
2015-09-17 09:53:50
阅读次数:
221
今天周四了,一想到明天就是周五会不会很兴奋呢?其实不必每天都盼着周五,潇洒每一天才是王道! @ora_oranger:山羊爷爷的白菜丰收了,请小白兔和小黑兔来帮忙。收完白菜后山羊爷爷分别送了两只小兔一些白菜,小...
分类:
其他好文 时间:
2015-09-17 08:50:52
阅读次数:
174
/*
多态:同一个对象(事物),在不同时刻体现出来的不同状态。
举例:
猫是猫,猫是动物。
水(液体,固体,气态)。
多态的前提:
A:要有继承关系。
B:要有方法重写。
其实没有也是可以的,但是如果没有这个...
分类:
其他好文 时间:
2015-09-17 08:50:45
阅读次数:
174
【题目链接】:click here~~
【题目大意】:题意】:给一个矩阵表示i行j列某辆车的状态,统计最后没有坏的车
代码:
/*
* Problem: CodeForces - 545A
* Running time: 15MS
* Complier: G++
* Author: herongwei
* Create Time: 7:47 2015/9/17 星期四
*统...
分类:
其他好文 时间:
2015-09-17 08:50:34
阅读次数:
137
题意:
初始时滑冰俱乐部有1到n号的溜冰鞋各k双,x号脚的人可以穿x到x+d的溜冰鞋,;
有m次操作,每次包含两个数ri,xi,代表来了xi个ri号脚的人(xi可能为负);
对于每次操作,输出溜冰鞋是否足够;
n
题解:
首先这是一个二分图匹配问题,显然鞋和人是没有交集的;
然后就有一个Hall定理:
二部图G中的两部分顶点组成的集合分别为X, Y;
边集中有一组无公共点...
分类:
其他好文 时间:
2015-09-17 08:51:02
阅读次数:
157
题意:
给出n个数轴上的点,每两个点有一条带权的边;
现可以选择在n-1个区间中切k次,使切断的边权最大;
注意同一条边被切断多次只计算一次;
n
题解:
Poi~
我的思路就是做相反的问题,之后用总和去减就好了;
f[i][j]最后一次在i点切,切j次没被切到的最小边权;
这个状态显然就每条边只能计算一次了;
转移f[i][j]=min(f[k][j-1]+calc(...
分类:
其他好文 时间:
2015-09-17 08:50:02
阅读次数:
153
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.
For example, given the following matrix:
1 0 1 0 0
1 0 1 1 1
1 1 1 1 1
1 0 0 1 0
R...
分类:
其他好文 时间:
2015-09-17 08:49:34
阅读次数:
156
Given an array of n integers where n > 1, nums, return an array
output such that output[i] is equal to the product of all the elements of
nums except nums[i].
Solve it without division and in O(n)....
分类:
其他好文 时间:
2015-09-17 08:48:02
阅读次数:
145
本文翻译自Elasticsearch官方指南的distributed document store一章。分布式文档存储在上一章中,我们一直在介绍索引数据和获取数据的方法。可是我们省略了非常多关于数据是怎样在集群中被分布(Distributed)和获取(Fetched)的技术细节。这实际上是有意为之 ...
分类:
其他好文 时间:
2015-09-17 08:48:10
阅读次数:
392
stap -e 'probe process("a.out").function("fun").return {printf("%s",probefunc())}' ???????
分类:
其他好文 时间:
2015-09-17 08:47:23
阅读次数:
322
实验系统:CentOS 6.6_x86_64实验前提:提前准备好编译环境,防火墙和selinux都关闭实验说明:本实验共有4台主机,IP及角色分配如拓扑下载地址:试验中用到mariadb软件的下载地址,http://pan.baidu.com/s/1bnnYiMr实验拓扑: 一、准备工作 1...
分类:
其他好文 时间:
2015-09-17 08:45:34
阅读次数:
231
QuestionGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a can...
分类:
其他好文 时间:
2015-09-17 08:47:09
阅读次数:
168
#include#include#includeusing namespace std;int row,line,xx[4]={-1,1,0,0},yy[4]={0,0,-1,1};char map[100][100];bool vis[100][100];struct node{ int x,y,...
分类:
其他好文 时间:
2015-09-17 08:47:26
阅读次数:
152