题意:M*N的grid,每个格上有一个整数。小明从左上角(1,1)打算走到右下角(M,N)。每次可以向下走一格,或向右走一格,或向右走到当前所在列的倍数的列的位置上。即:若当前位置是(i,j),可以走到(i,k*j)问取走的最大和是多少。思路:水DP。。。边界的初始化要考虑。(因为有负数)。代码:i...
分类:
其他好文 时间:
2015-01-16 23:44:20
阅读次数:
155
var count = docAdGrid.getStore().getCount();var jsonArray = [];for (var i = 0; i < count; i++) { var record = docAdGrid.getStore().getAt(i); ...
分类:
Web程序 时间:
2015-01-16 18:34:07
阅读次数:
127
1、如果你想随时更改jqGrid的外观和列,可以先将jqGrid卸载掉再重新加载:$(grid).GridUnload(); $("#list_server_table").trigger("reloadGrid");2、jqGrid的列:colName、colModel其实是 json 格式的数据...
分类:
其他好文 时间:
2015-01-16 16:24:21
阅读次数:
437
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 trying to reach the ...
分类:
其他好文 时间:
2015-01-15 23:56:23
阅读次数:
294
题目:
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or ver...
分类:
编程语言 时间:
2015-01-15 16:14:27
阅读次数:
301
extjs4 作为前段框架,封装grid window form treegrid等。2.EF codefirst作为orm底层。3.使用ioc 依赖注入作为程序注入。4.使用aop作为权限、日志、异常的拦截。避免程序中大量使用日志权限异常代码。5.面向接口的服务,使用泛型模板作为数据操作。6.使用...
分类:
其他好文 时间:
2015-01-15 15:48:18
阅读次数:
226
extjs4 作为前段框架,封装grid window form treegrid等。2.EF codefirst作为orm底层。3.使用ioc 依赖注入作为程序注入。4.使用aop作为权限、日志、异常的拦截。避免程序中大量使用日志权限异常代码。5.面向接口的服务,使用泛型模板作为数据操作。6.使用...
分类:
其他好文 时间:
2015-01-15 12:29:42
阅读次数:
312
1.extjs4 作为前段框架,封装grid window form treegrid等。2.EF codefirst作为orm底层。3.使用ioc 依赖注入作为程序注入。4.使用aop作为权限、日志、异常的拦截。避免程序中大量使用日志权限异常代码。5.面向接口的服务,使用泛型模板作为数据操作。6....
分类:
Web程序 时间:
2015-01-15 10:35:30
阅读次数:
252
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 either down or right at...
分类:
其他好文 时间:
2015-01-15 09:28:07
阅读次数:
124
Muddy Fields
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8434
Accepted: 3124
Description
Rain has pummeled the cows' field, a rectangular grid of R r...
分类:
其他好文 时间:
2015-01-14 18:03:16
阅读次数:
259