线(4个属性): lineWidth:<integer> // 宽度 lineCap: butt | round | square // 顶端样式 默认| 圆角 | 方角 lineJoin: miter | round | bevel // 相交样式 直切 | 圆角 | 倒角 miterLimit ...
分类:
其他好文 时间:
2017-06-02 23:06:39
阅读次数:
260
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the follow ...
分类:
其他好文 时间:
2017-06-01 21:42:15
阅读次数:
159
回归与梯度下降: 回归在数学上来说是给定一个点集,能够用一条曲线去拟合之,如果这个曲线是一条直线,那就被称为线性回归,如果曲线是一条二次曲线,就被称为二次回归,回归还有很多的变种,如locally weighted回归,logistic回归,等等,这个将在后面去讲。 用一个很简单的例子来说明回归,这 ...
分类:
其他好文 时间:
2017-06-01 21:01:20
阅读次数:
256
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 matr ...
分类:
其他好文 时间:
2017-05-31 22:17:52
阅读次数:
264
Project 6: Deep LearningIntroduction to Computer Vision Brief Due date: Tuesday, December 6th, 11:55pm Project materials including starter code, train ...
分类:
其他好文 时间:
2017-05-31 22:17:31
阅读次数:
460
Retrofit 是一个当前很流行的网络请求库 想使用它首先在gradle文件中引用 RxJava 是针对于Java语音的一个异步响应式编程库 Retrofit的使用 创建一个Retrofit对象 client 设置OkHttp用于拦截器设置 addCallAdapterFactory()设置支持R ...
分类:
编程语言 时间:
2017-05-31 13:58:47
阅读次数:
357
一.列表 1.无序列表: 语法:<ul> <li></li>(列表声明项) </ul> 类型(type的取值:<ul type="disc"></ul>): disc:实体圆心 square:实体方心 cicrle:空心圆 2.有序列表: 语法:<ol> <li></li>(列表声明项) </ol> ...
分类:
其他好文 时间:
2017-05-30 23:08:07
阅读次数:
176
列表样式: list-style-type none 无标记符号 disc 实心圆 circle 空心圆 square 实心正方形 decimal 数字 list-style-image 如: li{list-style-image:url<image/arrow-right,gif>; list- ...
分类:
其他好文 时间:
2017-05-30 00:38:26
阅读次数:
219
In the square below, each row, each column and the two diagonals can be read as a five digit prime number. The rows are read from left to right. The c ...
分类:
其他好文 时间:
2017-05-29 19:53:29
阅读次数:
197
题意:给你一个矩阵,分别计算从外到里的每层边框上的数字和。 注意点: 四个角会重复加2次,所以最后的sum再减去四个角的数。 当内正中心只有一个数时,按上面说的注意点的话,此时的sum==0,但结果显然不为0。 改进的方法if(k == T) sum = a[k][k]。会发现只有到正中心时 k 才 ...
分类:
其他好文 时间:
2017-05-28 20:53:41
阅读次数:
142