码迷,mamicode.com
首页 >  
搜索关键字:maximal rectangle    ( 1534个结果
The Maze
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll ...
分类:其他好文   时间:2019-07-07 14:22:14    阅读次数:84
Android layer-list的属性和使用详解(阴影、边框效果)
通过每一层的设置来显示背景色 ...
分类:移动开发   时间:2019-07-03 12:04:29    阅读次数:172
线程池_ThreadPool
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Management; using ... ...
分类:编程语言   时间:2019-06-11 14:51:21    阅读次数:120
LeetCode 223. 矩形面积(Rectangle Area)
223. 矩形面积 223. Rectangle Area 题目描述 在二维平面上计算出两个由直线构成的矩形重叠后形成的总面积。 每个矩形由其左下顶点和右上顶点坐标表示,如图所示。 LeetCode223. Rectangle Area中等 示例: 输入: 3, 0, 3, 4, 0, 1, 9, ...
分类:其他好文   时间:2019-06-09 19:42:08    阅读次数:131
[LeetCode] 84. 柱状图中最大的矩形
题目链接 : https://leetcode cn.com/problems/largest rectangle in histogram/ 题目描述: 给定 n 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 1 。 求在该柱状图中,能够勾勒出来的矩形的最大面积。 以上是 ...
分类:其他好文   时间:2019-06-07 00:50:13    阅读次数:93
[leetcode]85. Maximal Rectangle 最大矩形
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example: 题意 给定一个01矩阵,找出其中全由1构成的最 ...
分类:其他好文   时间:2019-05-31 16:33:58    阅读次数:91
练手WPF(三)——扫雷小游戏的简易实现(上)
一、创建项目1.创建WPF项目,设置初始化窗口大小(初级难度):高x宽为430x350。2.添加文件夹Images,并添加相关图片。 3.xaml中引入图片资源。 4.添加窗口元素(1)菜单 (2)在菜单之后,</DockPanel>之前添加其他界面元素 其中两个Rectangle用于显示时钟和地雷 ...
分类:Windows程序   时间:2019-05-29 16:25:13    阅读次数:144
实验九—抛出异常
package 实验包;public class error { public static void main(String[] args) { point point1=new point(1,2); point point2=new point(1,2); point point3=new p ...
分类:其他好文   时间:2019-05-27 00:49:17    阅读次数:166
异常的抛出,捕获并处理
源程序: public class dong { public static void main(String[] args) { point p=new point(-1,3); point p1=new point(4,2); point p2=new point(3,3); rectangle ...
分类:其他好文   时间:2019-05-23 23:01:13    阅读次数:146
实验九:异常的抛出、捕获并处理
(1)测试Point类中参数异常 point1中参数是负数,故参数报错 (2)测试Rectangle类中参数异常 矩形的高为负数,故参数报错 (3)测试Triangle类中参数异常 由于三个点斜率都一样,故在一条直线上,参数报错 (4)测试Polygon类中参数异常 由于只传入了两个点的参数,无法构 ...
分类:其他好文   时间:2019-05-21 20:57:03    阅读次数:164
1534条   上一页 1 ... 23 24 25 26 27 ... 154 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!