码迷,mamicode.com
首页 >  
搜索关键字:largest rectangle in    ( 2497个结果
[LC] 53. Maximum Subarray
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: ...
分类:其他好文   时间:2019-10-13 23:34:58    阅读次数:112
第七周课程总结&实验报告(五)
实验四 类的继承 实验目的 理解抽象类与接口的使用; 了解包的作用,掌握包的设计方法。 实验要求 掌握使用抽象类的方法。 掌握使用系统接口的技术和创建自定义接口的方法。 了解 Java 系统包的结构。 掌握创建自定义包的方法。 实验内容 (一)抽象类的使用 设计一个类层次,定义一个抽象类 形状,其中 ...
分类:其他好文   时间:2019-10-12 20:25:17    阅读次数:78
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: 把每一列看成histogram,就可以得到4个 ...
分类:其他好文   时间:2019-10-10 09:14:03    阅读次数:71
Lake Counting (POJ - 2386)
Description Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 10 ...
分类:其他好文   时间:2019-10-09 19:55:38    阅读次数:105
TOJ4244: Sum
描述 Given a sequence, we define the seqence's value equals the difference between the largest element and the smallest element in the sequence. As an e ...
分类:其他好文   时间:2019-10-08 14:34:06    阅读次数:73
2018 ICPC Asia Singapore Regional A. Largest Triangle (计算几何)
题目链接: "Kattis largesttriangle" Description Given $N$ points on a $2$ dimensional space, determine the area of the largest triangle that can be formed ...
分类:其他好文   时间:2019-10-06 00:52:11    阅读次数:345
Hyperion: Building the Largest In memory Search Tree
Introduction 索引在数据管理中起到很重要的作用,很多索引结构都会采用访问速度快而且内存消耗少的trie树,但一般常见的trie树索引结构都强调效率而忽视内存的效率,他们的效率虽然高,但内存的消耗比较大。这篇文章提出了一种新的树形结构 Hyperion,在效率上做到对范围查询和点查询都能够 ...
分类:其他好文   时间:2019-10-05 22:34:36    阅读次数:131
python中的opencv
cv2.rectangle(img, pt1, pt2, color[, thickness[, lineType[, shift]]]) → None img – Image.pt1 – Vertex of the rectangle.pt2 – Vertex of the rectangle o ...
分类:编程语言   时间:2019-10-05 20:46:56    阅读次数:130
Codeforces Round #587 (Div. 3) C. White Sheet
链接: https://codeforces.com/contest/1216/problem/C 题意: There is a white sheet of paper lying on a rectangle table. The sheet is a rectangle with its si ...
分类:其他好文   时间:2019-10-04 21:05:57    阅读次数:88
[CSP-S模拟测试]:Rectangle(模拟+树状数组)
题目描述 平面上有$n$个点,第$i$个点的坐标为$X_i,Y_i$。对于其中的一个非空点集$S$,定义$f(S)$为一个最小矩形,满足:$\bullet$覆盖$S$中所有的点(在边界上也算覆盖);$\bullet$边与坐标轴平行。求所有不同的$f(S)$的面积和对$10^9+7$取模的结果。两个矩 ...
分类:编程语言   时间:2019-10-03 13:06:45    阅读次数:102
2497条   上一页 1 ... 20 21 22 23 24 ... 250 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!