Basic Tree TraversalDepth First Traversal:1. In order traversal----left, root, right----4,2,5,1,32. Pre order traversal-----root, left, right-----1,2,...
分类:
其他好文 时间:
2014-11-27 07:59:38
阅读次数:
232
一个屏50~60HZ,人眼就感觉不出闪烁,若以60HZ为例子,
整个屏幕刷新一次的周期是1 / 60 hz 大约是 16.6ms
若整个屏幕由4这个灯组成,则每个灯刷一次的周期为16.6ms / 4 ,大约是4ms左右...
分类:
其他好文 时间:
2014-11-26 16:44:05
阅读次数:
112
-define(PAGECOUNT,3). %定义自己的页容量Pre = (Page -1) * ?PAGECOUNT, %页首 Tail = Page * ?PAGECOUNT + 1, %页尾 Query=ets:fun2ms(fun(Data=#process_state{number=N.....
分类:
其他好文 时间:
2014-11-26 06:37:21
阅读次数:
159
有点点小虐心。
#include
#include
#include
using namespace std;
const int ternarys[12] = { 0, 1, 3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049 };
int DP[2][59049];
int bit_map[155][15];
int pre_li...
分类:
其他好文 时间:
2014-11-25 18:39:29
阅读次数:
177
简单递归实现:/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ ...
分类:
其他好文 时间:
2014-11-25 17:47:04
阅读次数:
215
在InputReader从EventHub中获取输入事件,包含触摸屏事件、物理按键事件等,然后转交给InputDispatcher线程,InputDispatcher经过筛选,过滤输入事件。对于触摸事件通过调用findTouchedWindowTargetsLocked()函数找到合适的InputTarget,然后通过dispatchEventLocked()->pre..
分类:
移动开发 时间:
2014-11-25 10:59:31
阅读次数:
524
1,列表 .unstyled(无样式列表),.dl-horizontal(dl列表水平排列)2,代码 code(行级),pre(块级),.pre-scrollable(显示滚动条), 显示行号和美化: .prettyprint,.linenums3,表格 .table(基础样式) .table-bo...
分类:
其他好文 时间:
2014-11-24 19:09:36
阅读次数:
270
第10章 视频处理1.视频处理在视频压缩前后,对视频图像质量增强的操作视频编解码系统输出的图像主观质量不仅与压缩算法的性能有关,还受视频处理的影响压缩之前对视频的处理称作预处理(Pre-processing)压缩之后对视频的处理称作后处理(Post-processing)2. 预处理预处理的目的为了...
分类:
其他好文 时间:
2014-11-24 16:57:16
阅读次数:
170
修改文件/include/arc.archives.class将一下代码 $next = (is_array($nextR) ? " where arc.id={$nextR['id']} " : ' where 1>2 '); $pre = (is_array($preR)...
分类:
其他好文 时间:
2014-11-24 14:54:03
阅读次数:
211
Prettify 是什么?
Prettify 是一款 HTML 代码高亮插件;原名:Google-Code-Prettify
是一款谷歌开发的代码高亮插件;它可以让你的网站代码显示更具特色。在我的使用中它不是最优秀的,但是却是非常不错的。光说没用要给大家看看才行。...
分类:
Web程序 时间:
2014-11-24 10:01:37
阅读次数:
281