中南赛区ACM竞赛题 Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as the maximal sub-rectangle.
资源简介:中南赛区ACM竞赛题 Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of all th...
上传时间: 2013-12-22
上传用户:lijianyu172
资源简介:中南赛区ACM竞赛题 这题可以用Dijkstra的算法做,但是dfs的时间加减枝后也只有15ms,我用的是dfs. 就是遍历每种可行的树,要求每个棵树上的节点的地位都在maxdw,mindw,(最大地位,最小地位)的范围内.
上传时间: 2016-06-21
上传用户:sz_hjbf
资源简介:Use a one-dimensional array of primitive type boolean to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding...
上传时间: 2013-12-22
上传用户:zhichenglu
资源简介:Abstract—The contourlet transform is a new two-dimensional extension of the wavelet transform using multiscale and direc- tional fi lter banks. The contourlet expansion is composed of basis images oriented at various directions in ...
上传时间: 2014-01-18
上传用户:水中浮云
资源简介:The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region ...
上传时间: 2013-12-13
上传用户:cylnpy
资源简介:A program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by level of grey: the lighter the color, the higher the function value. The particles are shown as red circ...
上传时间: 2013-12-22
上传用户:Andy123456
资源简介:reads a set of C-source files and generates a two-column listing of those sources
上传时间: 2013-12-19
上传用户:qoovoop
资源简介:CarSim is an application for the simulating the (simplified) movement of cars on a two-dimensional surface. Package ope.carsim contains classes that represent the problem domain: cars and locations. Package ope.carsim.gui contains a ...
上传时间: 2013-12-22
上传用户:gaome
资源简介:FuncPlotter is a combined Java application and applet for displaying two-dimensional plots of explicit functions in one variable (ie, FuncPlotter plots functions of the form y = f(x), where f(x) is composed from common mathematical operator...
上传时间: 2015-12-16
上传用户:妄想演绎师
资源简介:Displays a two-dimensional table showing how interest rates affect bank balances.
上传时间: 2016-08-11
上传用户:wang5829