码迷,mamicode.com
首页 >  
搜索关键字:set matrix zeroes    ( 60632个结果
VBScript/QTP 的常用COM对象列表
众所周知,我们经常在脚本中创建一些对象来实现某些特定的功能。尤其是当我们使用QTP的描述性编程时,需要创建这些对象。 下边是我们经常在QTP或VBScript中用到的对象列表: Set objEmail = CreateObject("CDO.Message" ) Set objIE = CreateObject("InternetExplorer.Application" )...
分类:其他好文   时间:2014-05-15 14:54:27    阅读次数:230
Leetcode 二分查找 Search a 2D Matrix
题意:在一个二维矩阵中找到给定的值。矩阵从上到下从左到右有序 思路:二维空间的二分查找 先在一维里找中间位置,再将该位置转为二维空间里的下标 注:下标比较难弄,得注意点 复杂度: 时间O(log n),空间O(1) 相关题目: Search Insert Position...
分类:其他好文   时间:2014-05-15 07:24:42    阅读次数:253
Android图片查看器(图片可移动、缩放)
要实现图片在手指点击滑动后...
分类:移动开发   时间:2014-05-15 06:51:33    阅读次数:360
CareerCup之1.6 Rotate Image
【题目】 原文: 1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? 译文: 一张图像表示...
分类:其他好文   时间:2014-05-15 05:43:35    阅读次数:240
cygwin 乱码解决方案
右键选择Options... 左栏选项选择Text,右栏Character set 选择GBK,Locale选择zh_CN 选择OK,乱码成功变中文。...
分类:Windows程序   时间:2014-05-14 15:28:27    阅读次数:308
thinkphp 随笔
thinkphp Runtime 除了页面有缓存外,数据表也生成了缓存,所以如果开发后期有更新字段,上传到服务器 后要把Runtime里面的内容全部删除,否则会出错nginx 配置以适应 pathinfo 需求 #去掉$是为了不匹配行末,即可以匹配.php/,以实现pathinfo ...
分类:Web程序   时间:2014-05-14 13:12:01    阅读次数:356
使用jQuery异步传递含复杂属性及集合属性的Model到控制器方法
Student类有集合属性Courses,如何把Student连同集合属性Courses传递给控制器方法? public class Student { public string StudentName { get; set; } public IList Courses { get; set; ...
分类:Web程序   时间:2014-05-14 12:49:24    阅读次数:351
php验证登录
注册"; }}?>
分类:Web程序   时间:2014-05-14 12:43:15    阅读次数:389
mysql 随笔
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refused解决方法有如下三种:1、服务器端升级启用secure_auth选项;2、客户端连接时off掉secure_auth,即连接时加上--sec...
分类:数据库   时间:2014-05-14 12:42:12    阅读次数:528
Leetcode: Unique Paths
这道题最开始采用recursive的方法,结果犯了TLE(time limit exceeded)的错误,事实证明recursive的时间代价还是太高,所以改用DP的方法,把曾经算出来的结果存起来,我用的是一个M*N的matrix来存储 1 public class Solution { 2 ...
分类:其他好文   时间:2014-05-14 10:57:31    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!