1.NSArray 是一个父类,NSMUtableArray是其子类,他们构成了OC的数组。2.NSArray的创建NSArray * array = [[NSArray alloc]initWithObjects:@"one",@"two",@"three",@"four good",nil];/...
分类:
编程语言 时间:
2015-11-27 09:16:52
阅读次数:
186
1.总set:不允许重复、无序list:有序、重复map:key-value对形式2.map与set标签中的element子标签映射的是原子类型(string、data、int、long...),即就是能够直接映射到数据库表字段上的类型,而one-to-many映射的则是实体类型,指的是无法映射到表...
分类:
Web程序 时间:
2015-11-27 01:05:54
阅读次数:
221
基本选择器:id为one的元素 $("#one") class为one的元素 $(".one") div元素(标签) $("div") 层次选择器:$("a b") 选取a元素里所有b(所有后代)元素 $("a >b") 选取a元素里...
分类:
Web程序 时间:
2015-11-27 01:01:25
阅读次数:
166
DescriptionA crime has been comitted: a load of grain has been taken from the barn by one of FJ's cows. FJ is trying to determine which of his C (1 #i...
分类:
其他好文 时间:
2015-11-26 21:15:33
阅读次数:
267
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-11-26 14:43:22
阅读次数:
120
1. $.find()与$.children()的区别有如下HTML片段:复制代码代码如下:1. find() 返回元素下所有指定元素,不限制子级的深度,如:$("#div_four").find("input")//返回one、two、three三个input元素2.childr() 返回元素的一...
分类:
Web程序 时间:
2015-11-26 12:30:17
阅读次数:
126
I had the same BFS idea as one of the AC code this: because dying pattern is spead from the initial dying ones :)#include #include #include using name...
分类:
其他好文 时间:
2015-11-26 08:11:16
阅读次数:
189
Very good DP one.First I figured out a O(n^2) solution:class Solution {public: int maxProfit(vector& prices) { int n = prices.si...
分类:
其他好文 时间:
2015-11-26 06:52:46
阅读次数:
259
https://en.wikipedia.org/wiki/Wiener_filterWiener filter solutionsThe Wiener filter problem has solutions for three possible cases: one where a noncau...
上次提到的手写数字的识别就是一个多分类的问题,有10种不同的分类(0-9)。在神经网络中我们所做的多分类问题是the one VS all方法的延伸,让我们看一个computer vision的例子,在这个例子中,我们要对图片进行4个分类:步行,car,摩托车,火车。我们建立的这个神经系统,它有4个...
分类:
其他好文 时间:
2015-11-26 00:59:36
阅读次数:
181