题目:It is necessary to arrange numbers from 0 to 2^(N+M)-1 in the matrix with 2^N rows and 2^M columns. Moreover, numbers occupying two adjacent cells ...
分类:
其他好文 时间:
2015-04-11 13:11:27
阅读次数:
153
引入类库:/js/jquery-flexigrid/css/gray/flexigrid.css" />相关HTML代码:在文档加载的时候初始化:$(document).ready(function(){ initTeamInfoFlexiGrid(); });相关js代码:function ...
分类:
其他好文 时间:
2015-04-10 17:29:37
阅读次数:
151
手头一块RK3288的板子,在板子上测试了1080p一个灰度转换的OpenCL例子。OpenCL没有任何优化。例子请移步这里。 该例子是编译成安卓平台下的可执行程序。
进入jni文件夹,进行如下操作
ndk-build
adb push ../libs/armeabi-v7a/opencl /mnt/sdcard/opencl/gray
adb push kernel.cl...
分类:
移动开发 时间:
2015-04-09 00:59:59
阅读次数:
348
题目链接:Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print th...
分类:
其他好文 时间:
2015-04-07 23:34:18
阅读次数:
318
text-show:2px 2px 5px gray;文字阴影显示letter-spacing:1px; 文字间距1px;padding:10px; 内边距10px;-webkit-columns:atuo 3; 文字分为三排-webkit-column-gap:30px; 间空隙30px;...
分类:
其他好文 时间:
2015-04-07 17:27:33
阅读次数:
355
清除浮动方法方法一:使用带clear属性的空元素在浮动元素后使用一个空元素如,并在CSS中赋予.clear{clear:both;}属性即可清理浮动。亦可使用或来进行清理。.news { background-color: gray; border: solid 1px black; }.news ...
分类:
其他好文 时间:
2015-04-05 21:41:05
阅读次数:
334
标准颜色名称和RGB颜色值
Black = #000000
Green = #008000
Silver = #C0C0C0
Lime = #00FF00
Gray = #808080
Olive = #808000
White = #FFFFFF
Yellow = #FFFF00
Maroon = #800000
Navy = #000080
Red = #FF0000
...
分类:
其他好文 时间:
2015-03-31 18:03:25
阅读次数:
154
iOS7默认状态栏文字颜色为黑色 修改为白色的方法:(chenyong注意 我的Status bar style 使用的仍是默认值Gray style(default))1在Info.plist中设置View controller-based status bar appearance 为NO2 在...
分类:
移动开发 时间:
2015-03-31 14:32:51
阅读次数:
278
.gray { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%...
分类:
Web程序 时间:
2015-03-31 06:36:22
阅读次数:
141
i ^ (i >> 1), that's the general format 1 class Solution { 2 public: 3 vector grayCode(int n) { 4 vector result; 5 for (int i = 0;...
分类:
其他好文 时间:
2015-03-20 01:09:59
阅读次数:
140