【CodeChef】Querying on a Grid(分治,最短路) 题面 "Vjudge" "CodeChef" 题解 考虑分治处理这个问题,每次取一个$mid$,对于$mid$上的三个点构建最短路径树(因为保证了最短路唯一所以是树)。 如果两点之间的最短路径跨越了$mid$,那么必定有$di ...
分类:
其他好文 时间:
2019-03-01 17:14:37
阅读次数:
236
Archive for the DotNetBar for Windows Forms Category: http://www.devcomponents.com/kb2/?cat=3 视频教程: http://www.devcomponents.com/dotnetbar/movies.aspx ...
分类:
Web程序 时间:
2019-03-01 17:13:12
阅读次数:
240
写点小东西,遇到多少坑啊。 1. 安装sqlserver驱动,在cmd下面就可以执行,在powershell下面各种错,搞了半天都没动力搞其他的了。 mvn install:install-file "-Dfile=sqljdbc4-4.0.jar" -Dpackaging=jar "-Dgroup ...
分类:
其他好文 时间:
2019-02-28 18:33:26
阅读次数:
193
Ext.create('Ext.grid.Panel', { store: relationStore, listeners:{ itemdblclick:function(dataview, record, item, index, e){ }}, columns: [ { text: 'id', ...
分类:
Web程序 时间:
2019-02-26 15:23:10
阅读次数:
193
出现问题一: 问题描述:在做弹框修改,需要选中一条数据在弹框中显示出该笔数据,但是js报错了: 当没有选中数据的时候,出现了$scope.grid.checkedList is not a function 问题分析:checkedList()是数组还是什么,选中了数据checkedList()会不 ...
分类:
其他好文 时间:
2019-02-26 13:37:10
阅读次数:
203
On a N x N grid of cells, each cell (x, y) with 0 <= x < N and 0 <= y < N has a lamp. Initially, some number of lamps are on. lamps[i] tells us the lo ...
分类:
其他好文 时间:
2019-02-26 13:29:27
阅读次数:
121
题目要求 You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontal ...
分类:
其他好文 时间:
2019-02-24 10:52:19
阅读次数:
183
oracle 19c rac安装之grid install,没啥大的变化
分类:
数据库 时间:
2019-02-24 00:35:30
阅读次数:
571
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2019-02-22 18:16:29
阅读次数:
139
由于一开始定的开发平台在QT下,到后面要加入地图控件.qt里本身带有地图qmap(在qt的官方案例中可以找到,用qml做的),但只有固定的几个地图源,要做google或者bing地图,时间和人力不允许,而且对地图也不是很熟悉..就决定先用gmap. 思路: gmap 是用c#开发的,像QT这种C++ ...
分类:
其他好文 时间:
2019-02-21 21:32:47
阅读次数:
325