码迷,mamicode.com
首页 >  
搜索关键字:grid treegrid checkb    ( 4318个结果
uva 10671 - Grid Speed(dp)
题目链接:uva 10671 - Grid Speed 题目大意:给出N,表示在一个N*N的网格中,每段路长L,现在给出h,v的限制速度,以及起始位置sx,sy,终止位置ex,ey,时间范围st,et,车只走最短路,问说在范围内最快到达和耗油量最小的情况下时间和耗油量。 解题思路:dp[x][y][t]表示在x,y这一点,时间为t的耗油量最小为dp[x][y][t],vis[x][...
分类:其他好文   时间:2014-07-28 00:26:19    阅读次数:224
hdu 1533 Going Home (KM算法)
Going Home Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2715    Accepted Submission(s): 1366 Problem Description On a grid map ...
分类:其他好文   时间:2014-07-28 00:20:09    阅读次数:279
HDU1078:FatMouse and Cheese(记忆化)
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
acm集训训练赛A题【签到题】
一、题目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
Codeforces 451A Game With Sticks
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
[LeetCode] Minimum Path Sum
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
EasyUI知识点杂记
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
WPF学习笔记4——Layout之2
下面简单介绍常见的面板。 一、Grid 1.Grid关于调整行列距离有三种方法:绝对大小,自动大小,比例大小。如下: 2.LayoutRounding。像素细节问题,可忽略。如果呈现和布局应使用舍入到整像素,则为 true;否则为 false。用例: 3.跨行与跨列:RowSpan和ColSpan。...
分类:其他好文   时间:2014-07-25 14:16:01    阅读次数:233
[LeetCode] Unique Paths
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
override Ext.grid.plugin.RowExpander的方法不起作用
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!