链接 分析:码农模拟题,首先我们先求出对于0来说满足条件的数,然后在从集合当中筛选出任意两个都满足条件的数即可 1 /* 2 PROB:hamming 3 ID:wanghan 4 LANG:C++ 5 */ 6 #include "iostream" 7 #include "cstdio" 8 # ...
分类:
其他好文 时间:
2017-07-11 09:32:36
阅读次数:
118
转自http://www.hahack.com/codes/cmake/ 什么是 CMake All problems in computer science can be solved by another level of indirection. David Wheeler 你或许听过好几种 ...
分类:
其他好文 时间:
2017-07-07 10:22:32
阅读次数:
240
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) private Bitmap createVideoThumbnail(String url, int width, int height) { Bitmap bitmap = null; Medi... ...
分类:
移动开发 时间:
2017-07-06 19:03:55
阅读次数:
298
转载请注明出处:王亟亟的大牛之路 之前也做过一些用TextView之类的记录ListView选项的东西。可是总认为好难看。发现个不错的实现就贴给大家。 项目文件夹 执行效果: 自己定义视图: @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) pub ...
分类:
移动开发 时间:
2017-07-05 10:03:05
阅读次数:
237
本文转载自:http://www.hahack.com/codes/cmake/ 什么是 CMake All problems in computer science can be solved by another level of indirection. 你或许听过好几种 Make 工具,例如 ...
分类:
其他好文 时间:
2017-07-03 21:10:25
阅读次数:
200
db.getCollection('test').aggregate([ {'$match': {'codes.name': 'a'}}, // 检索文档 {$unwind: "$codes"}, // 拆分数组 {'$match': {'codes.name': 'a'}}, // 检索数组元素 ... ...
分类:
编程语言 时间:
2017-07-03 18:05:05
阅读次数:
315
20170701_02_AffineFunction.md—/Users/haoyou/Codes/MyLogs 数学概念仿射函数定义:仿射函数最高次数为1的多项式函数;常数项为0的仿射函数称之为线性函数。仿射函数的图形是n维空间中的一个n-1维超平面。比如2维空间,y=ax+b,是一个1维超平面,... ...
分类:
其他好文 时间:
2017-07-02 23:25:39
阅读次数:
251
20170701_03_GradientDescend.md—/Users/haoyou/Codes/MyLogs 机器学习梯度下降可导函数在任一点的梯度是自变量空间中的一个向量(二元函数的梯度是 xy 平面上的向量,而不是 xyz 空间里的向量)函数图形在这一点的切平面的法向量投影在自变量空间中,... ...
分类:
其他好文 时间:
2017-07-02 22:13:07
阅读次数:
173
在线演示地址如下: http://demo.jb51.net/js/2015/css-tab-bq-style-cha-codes/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR ...
分类:
Web程序 时间:
2017-06-30 17:33:39
阅读次数:
307
When system requests fail, error code are returned. To understand the nature of the error these codes need to be interpreted. They are recorded in:- H ...
分类:
系统相关 时间:
2017-06-27 09:48:08
阅读次数:
150