码迷,mamicode.com
首页 >  
搜索关键字:zero dark matrix    ( 6343个结果
【leetcode】Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-06-28 15:14:05    阅读次数:194
poj3422 Kaka's Matrix Travels(最小费用最大流问题)
1 /* 2 poj3422 Kaka's Matrix Travels 3 不知道 k次 dp做为什么不对??? 4 看了大牛的代码,才知道还可以这样做! 5 开始没有理解将a 和 a‘ 之间建立怎样的两条边,导致程序一直陷入死循环,真心花了好长时间,快崩溃了。无语..... ...
分类:其他好文   时间:2014-06-28 11:41:06    阅读次数:300
Unity3D Physics Keynote
【Unity3D Physics Keynote】1、在哪设置Layer Collision Matrix? "Edit"->"Project Settings"->"Physics"。 2、“Import Package”->"Physic Meterial",是Unity自带的物理材质包。3.....
分类:其他好文   时间:2014-06-28 11:12:40    阅读次数:221
Generate a list of nice colors for curves in GNU Octave
function ret = GenColorList() ret = [ 0 0 255; # blue 138 43 226; # blueviolet 165 42 42; # brown 210 105 30; # chocolate 0 100 0; # dark-g...
分类:其他好文   时间:2014-06-24 14:11:38    阅读次数:199
PLSQL_Oracle PLSQL内置函数大全(概念)
2014-06-20 BaoXinjianPLSQL常用方法大全1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space fromdual; Aa ZERO SPACE-...
分类:数据库   时间:2014-06-23 08:36:09    阅读次数:3011
图片旋转
Bitmap bitmap=((BitmapDrawable)getResources().getDrawable(R.drawable.pull_down_color)).getBitmap(); Matrix matrix=new Matrix(); matrix.postRotate(180); bitmap=Bitmap.create...
分类:其他好文   时间:2014-06-22 22:50:07    阅读次数:206
UVa 10061 - How many zero's and how many digits ?
题目:给你一个数字n,一个数字b,问n!转化成b进制后的位数...
分类:其他好文   时间:2014-06-22 20:23:39    阅读次数:178
Java解惑六:库之谜
本文是根据JAVA解惑这本书,做的笔记。 电子书见:http://download.csdn.net/detail/u010378705/7527721 谜题56 BigInteger、BigDecimal以及包装类型的实例是不可改变。 BigInteger five = new BigInteger("5"); BigInteger total = BigInteger.ZERO...
分类:编程语言   时间:2014-06-22 20:09:44    阅读次数:276
共享内存
from:unix高级环境编程 unix/linux中共享内存是最高效的ipc方式。 有几种使用方式: 1)mmap /dev/zero设备: fd = open("/dev/zero", O_RDWR); area = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); close(fd); 加入MAP_SHARE...
分类:其他好文   时间:2014-06-22 06:21:16    阅读次数:215
打印数字回环
题目要求: Input a value n, then print out a N×N matrix.     Example 1: Input 2, then 1 2 4 3     Example2: Input 4, then 1  2  3  4 12 13 14 5 11 16 15 6 10 9  8  7 Please write a program to...
分类:其他好文   时间:2014-06-22 00:38:02    阅读次数:409
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!