上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 附上博客http://blog.csdn.net/muxidreamtohit/article/details/8865210 阅读全文
posted @ 2016-05-25 09:06 相儒以沫 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 附上一篇博客http://blog.csdn.net/cambridgeacm/article/details/7752247 阅读全文
posted @ 2016-05-25 09:05 相儒以沫 阅读(117) 评论(0) 推荐(0) 编辑
摘要: (a) (b) 如果MAXPRIMES的值等于3,则n=5的时候将发生数组越界的错误,而n=3的时候程序将正常进行 (c) n=1 (d) Node Coverage TR={1,2,3,4,5,6,7,8,9,10,11,12,13} Edge Coverage TR={(1,2),(2,3),( 阅读全文
posted @ 2016-03-29 18:30 相儒以沫 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 一、实验目的 1.下载Junit(4.12),Hamcrest(1.3),并将两个jar添加到项目中 2.写一个判断三角形形状问题的函数(等边三角形,等腰三角形,非等边三角形) 3.下载eclemma,并使用其判断程序的覆盖率 二、实验过程 1.下载junit-4.12.jar和hamcrest-a 阅读全文
posted @ 2016-03-18 11:44 相儒以沫 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 第一个程序的错误是i>0,i的取值应该是从0开始的,所以这里应该是i>=0。test: x=null does not execute the fault.test: x=[2,3,2];y=2 executes the fault, but does not result in an error 阅读全文
posted @ 2016-03-04 16:30 相儒以沫 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 我印象最深刻的error就是JAVA中equals和==的区别。 这是我在写web大作业时出现的错误: 1 public void doPost(HttpServletRequest request, HttpServletResponse response) 2 throws ServletExc 阅读全文
posted @ 2016-03-04 15:58 相儒以沫 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int n; 8 int next1[100010]; 9 char s[100010];10 11 void getnext()12 {13 int i=... 阅读全文
posted @ 2015-10-06 18:46 相儒以沫 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int m,n; 8 char s[1010]; 9 char t[1010];10 int next1[1010];11 12 void getnext()13 ... 阅读全文
posted @ 2015-10-06 13:26 相儒以沫 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 char s[1000010]; 8 char t[10010]; 9 int next1[10010];10 int m,n;11 12 void getnext... 阅读全文
posted @ 2015-10-06 12:50 相儒以沫 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 int n,m; 7 int t[100010]; 8 int s[1000010]; 9 int next1[100010];10 11 void getnext()12 {13 ... 阅读全文
posted @ 2015-10-06 10:40 相儒以沫 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页