Problem Description
FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q < n. At e...
分类:
其他好文 时间:
2014-07-28 00:02:49
阅读次数:
319
一、题目DescriptionAfter winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made ofnhori...
分类:
其他好文 时间:
2014-07-27 22:38:59
阅读次数:
311
DescriptionAfter winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made ofnhorizont...
分类:
其他好文 时间:
2014-07-27 22:17:59
阅读次数:
309
cglib 代理 什么是cglib? 一段介绍是这样的: CGLIB(Code Generation Library)是一个开源项目! 是一个强大的,高性能,高质量的Code生成类库,它可以在运行期扩展Java类与实现Java接口。 CGLIB包的底层是通过使用一个小而快的字节码处理框架ASM,来转...
分类:
其他好文 时间:
2014-07-27 21:59:39
阅读次数:
230
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.N...
分类:
其他好文 时间:
2014-07-26 01:42:16
阅读次数:
263
1.easyui获取datagrid分页组件的当前pageSize和pageNumber方法:var grid = $('#grid');var pager = grid.datagrid('getPager');var pageOpts = pager.data('pagination').opt...
分类:
其他好文 时间:
2014-07-25 19:06:32
阅读次数:
217
下面简单介绍常见的面板。 一、Grid 1.Grid关于调整行列距离有三种方法:绝对大小,自动大小,比例大小。如下: 2.LayoutRounding。像素细节问题,可忽略。如果呈现和布局应使用舍入到整像素,则为 true;否则为 false。用例: 3.跨行与跨列:RowSpan和ColSpan。...
分类:
其他好文 时间:
2014-07-25 14:16:01
阅读次数:
233
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 po...
分类:
其他好文 时间:
2014-07-25 10:54:31
阅读次数:
229
Ext版本4.2覆盖方法:Ext.override(Ext.grid.plugin.RowExpander,{
setCmp:function(grid){
varme=this,
rowBodyTpl,
features;
console.log(‘我是盖子。。‘);
me.callParent(arguments);
me.recordsExpanded={};
me.rowBodyTpl=Ext.XTemplate.getTpl(me,‘rowBodyTpl‘);
rowB..
分类:
其他好文 时间:
2014-07-24 23:55:54
阅读次数:
630