选择File->New->Target ...菜单项, ios->other中的Cocoa Touch Unit Testing Bundle模版。 创建好了后,在导航面板中多出了LogicTests组,该组中包含测试类。...
分类:
其他好文 时间:
2015-04-28 12:11:18
阅读次数:
136
Problem Description
There are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B and C know each other. But this may not imply that A and C know each other.
Now you are given all pairs of stu...
分类:
其他好文 时间:
2015-04-28 11:58:05
阅读次数:
144
开始日期:2015.04.24使用语言:python辅导资料:a.《与孩子一起学编程》、b.《深入浅出程序设计》& other books(做参考) 廖雪峰python小白教材网址:http://www.liaoxuefeng.com/wiki/001374738125095c955c1...
分类:
其他好文 时间:
2015-04-28 01:47:32
阅读次数:
127
模板匹配
什么才是描述像不像的最直白简单的算法——KNN
什么才是学习出最贴近人的认知的模板匹配算法——KMEAN?KMEDOID?or other clustering methods?
什么样的结构最贴近人的认知
生成模型进化 -> 生成+判别模型
判别模型应该只是一种认知的一种,不是认知的全部,认知的全部应该是有概念的,但是判别模型却没法体现这一点
但是并不是说有...
分类:
其他好文 时间:
2015-04-27 18:29:49
阅读次数:
171
java.lang.Comparable 1.0int compareTo(T other)//用这个对象与other进行比较。如果这个对象小于other则返回负值;如果相等则返回0;否则返回正值。java.util.Arrays 1.2static void sort(Object[] a)//使...
分类:
编程语言 时间:
2015-04-26 15:05:16
阅读次数:
117
As usual, constructors are different from other kinds of methods. This is also true when polymorphism is involved. Even though constructors are not po...
分类:
编程语言 时间:
2015-04-25 21:07:14
阅读次数:
132
模式匹配? 标准用法(match)var value=1var res= value match { case 1 => "one" case 2 =>"two" case _ =>"some other" }println(res)?使用守卫(if)var res2= value ma...
分类:
其他好文 时间:
2015-04-25 14:57:58
阅读次数:
174
手动模拟一下就出来了Uniform GeneratorTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 16Accepted Submission(s)...
分类:
其他好文 时间:
2015-04-25 13:41:50
阅读次数:
106
作者在Windows XP SP3 32位下亲测通过,理论上Win7也没问题。1. 如果系统中安装有Python,请先把Python卸载。2. 下载安装Python(x,y) 2.7.5.0, 下载地址:http://www.softpedia.com/get/Programming/Other-P...