简单说一下学习okhttp的理由 以上是okhttp官网http://square.github.io/okhttp/以及结合网上的一些理解整理 配置环境 在builde.gradle里面添加上 在AndroidManifest.xml添加所需权限 基本使用 ...
分类:
Web程序 时间:
2016-09-19 08:54:24
阅读次数:
163
题目描述 Description 定义square words为: 1.长度为偶数。 2.前一半等于后一半。 比如abcabc和aaaa都是square words,但是abcabcab和aaaaa都不是。 现在有一个长度为n的字符串,求至少要删掉多少个字符,使得剩下的字符串是square word ...
分类:
其他好文 时间:
2016-09-18 22:09:22
阅读次数:
111
1.长方形 #Rectangle{ width: 200px; height: 50px; background-color: red; color: white; text-align: center; } 2.正方形 #square{ width: 200px; height: 200px; b ...
分类:
Web程序 时间:
2016-09-18 22:05:08
阅读次数:
195
3301 Square words 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamond 题解 查看运行结果 3301 Square words 3301 Square words 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamon ...
分类:
其他好文 时间:
2016-09-18 10:11:25
阅读次数:
156
概念储备: (The least square method)和(least square error) 狭义的最小二乘方法,是线性假设下的一种有闭式解的参数求解方法,最终结果为全局最优; 梯度下降法,是假设条件更为广泛(无约束)的,一种通过迭代更新来逐步进行的参数优化方法,最终结果为局部最优; 广 ...
分类:
其他好文 时间:
2016-09-17 19:15:14
阅读次数:
140
1:资源: https://github.com/square/picasso](https://github.com/square/picasso 2:添加权限: <uses-permission android:name="android.permission.INTERNET"/> 3.布局: ...
分类:
其他好文 时间:
2016-09-16 12:41:11
阅读次数:
176
Square Country 2 Time limit: 1.0 secondMemory limit: 64 MB The Square Parliament of the Square country (recall the corresponding problem from the USU ...
分类:
其他好文 时间:
2016-09-16 00:23:14
阅读次数:
189
Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b ...
分类:
其他好文 时间:
2016-09-15 13:43:53
阅读次数:
321
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2016-09-15 06:27:13
阅读次数:
184
Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b ...
分类:
其他好文 时间:
2016-09-15 06:18:11
阅读次数:
93