https://zhuanlan.zhihu.com/p/24536868 学习参考于这个博文。 我做一个笔记。 关于python一些常用的语法快速的预览,适合已经掌握一门编程语言的人。零基础,没有任何编程经验的不适用快速入门。 基础数据类型 和其他主流语言一样,Python为我们提供了包括inte ...
分类:
编程语言 时间:
2017-05-21 19:46:52
阅读次数:
334
<html><head><style type="text/css">ul.none {list-style-type: none}没有ul.disc {list-style-type: disc}小黑点实心ul.circle {list-style-type: circle}小圆圈ul.squar ...
分类:
Web程序 时间:
2017-05-21 12:49:13
阅读次数:
217
在 POSIX 标准中,信号量分两种,一种是无名信号量,一种是有名信号量。无名信号量一般用于线程间同步或相互排斥,而有名信号量一般用于进程间同步或相互排斥。它们的差别和管道及命名管道的差别类似。无名信号量则直接保存在内存中,而有名信号量要求创建一个文件。前面我们学习了无名信号量的使用(详情请看《无名 ...
分类:
系统相关 时间:
2017-05-14 16:06:00
阅读次数:
320
查看一个简单的jQuery的例子来遍历一个JavaScript数组对象。 [js] view plaincopy var json = [ {"id":"1","tagName":"apple"}, {"id":"2","tagName":"orange"}, {"id":"3","tagName" ...
分类:
Web程序 时间:
2017-05-12 18:47:38
阅读次数:
648
首先来看看set集合容器: set集合容器实现了红黑树的平衡二叉树数据结构。在插入元素时它会自己主动调整二叉树的排列,把该元素放到适当的位置,而且 保证左右子树平衡。平衡二叉检索树採用中序遍历算法。 对于set,vector,map等等,它们的前向迭代器定义是这种(以set为例): set<int> ...
分类:
其他好文 时间:
2017-05-11 16:57:57
阅读次数:
275
?? FFmpeg 2.4 “Fresnel” – is the leading multimedia framework, cross-platform solution that is used to decode, encode, transcode, mux, demux, stream, ...
分类:
系统相关 时间:
2017-05-06 13:09:51
阅读次数:
231
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given intege ...
分类:
其他好文 时间:
2017-04-29 23:39:06
阅读次数:
346
How Many Fibs? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6371 Accepted Submission(s): 2517 ...
分类:
编程语言 时间:
2017-04-27 21:14:34
阅读次数:
166
传送门 Description You have a positive integer m and a non-negative integer s. Your task is to find the smallest and the largest of the numbers that have ...
分类:
其他好文 时间:
2017-04-22 20:47:52
阅读次数:
231
In its early days, the Android OS was pretty much supporting only one CPU architecture: ARMv5.Do you know how many it does support now? … 7! Seven dis ...
分类:
其他好文 时间:
2017-04-17 00:34:35
阅读次数:
285