problem:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which
minimizes the sum of all numbers along its path.
Note: You can only move e...
分类:
其他好文 时间:
2015-04-02 16:27:56
阅读次数:
131
使用asm.jar将Android手机屏幕投影到电脑
有时候可能需要将手机上的一些操作投影出来,比如一些App Demo的展示等。其实,有专门的硬件设备能干这件事儿,但没必要专门为展示个Demo去花钱买硬件设备。正好,对于Android系统的手机,有一个开源的jar包能干这事儿:Android Screen Monitor(asm.jar),官网 https://code.goo...
分类:
移动开发 时间:
2015-04-02 13:28:57
阅读次数:
138
problem:
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is...
分类:
其他好文 时间:
2015-04-02 11:42:24
阅读次数:
188
应用背景:在页面中有两个列表框,需要把其中一个列表框的元素移动到另一个列表框。 实现的基本思想: (1)编写init方法对两个列表框进行初始化; (2)为body添加onload事件调用init方法; (3)编写move(s1,s2)把s1中选中的选项移到s2; (4)编写moveAl...
分类:
移动开发 时间:
2015-04-02 09:00:24
阅读次数:
133
Given an array "nums" of integers and an int "k", Partition the array (i.e move the elements in "nums") such that, * All elements = k are moved to ...
分类:
其他好文 时间:
2015-04-02 06:38:14
阅读次数:
172
控制结构主要是关于 if/else switch/case
废话不多说。。献上代码及反汇编分析。。
#include
int main(int argc , char *argv[])
{
int nInt = 9;
// if(0 == nInt)
__asm
{
cmp DWORD PTR [EBP - 4h] , 0 ;
jle __exit;
}
// __...
分类:
其他好文 时间:
2015-04-01 23:52:29
阅读次数:
177
Nim is a 2-player game featuring several piles of stones. Players alternate turns, and on his/her turn, a player’s move consists of removing one or more stones from any single pile. Play ends when all the stones have been removed, at which point the last p...
分类:
其他好文 时间:
2015-04-01 15:21:45
阅读次数:
197
make 命令会自动读取当前目录下的 Makefile 文件[31],完成相应的编译步骤。Makefile 由一组规则(Rule)组成,每条规则的格式是:target ... : prerequisites ... command1 command2 ...目标和条件之间...
分类:
编程语言 时间:
2015-03-31 17:57:38
阅读次数:
131
using UnityEngine;
using System.Collections;
public class move : MonoBehaviour {
GameObject go;
// Use this for initialization
void Start () {
go= GameObject.Find("c4"); //命名为c4的...
分类:
移动开发 时间:
2015-03-31 14:49:39
阅读次数:
134
环境现状:两台虚拟主机A和B:1. A机器已安装ASM存储的Oracle 11g 实例 参考:http://www.cnblogs.com/jyzhao/p/4332410.html2. B机器已安装系统,配置以及目录结构均和A机器保持一致 /u01 + 3块ASM盘DG部署规划:primary.....
分类:
数据库 时间:
2015-03-30 22:28:57
阅读次数:
242