1.微小的,极小的 tiny
2.封装 footprints
3.对齐 align
4.等距分布 distribute equally
5.查找范围 consider objects in
6.连接检测 connection matrix
7.生成分类 classes generation
8.违背,违反,错误 violation
9.设置 contain...
分类:
其他好文 时间:
2015-01-24 17:23:23
阅读次数:
150
题意:N*M的矩阵,每个格中不是0就是1。可以任意交换某两列。最后得到一个新矩阵。问可以得到的最大的子矩形面积是多少(这个子矩形必须全是1)。思路:先统计,a[i][j]记录从第i行第j列格往上连续的0的个数。枚举每一行作为答案子矩阵的底, 然后将这一行的a[i][j]从大到小排序,扫一遍计算。看代...
分类:
移动开发 时间:
2015-01-24 15:50:36
阅读次数:
146
引用题解:http://blog.csdn.net/popoqqq/article/details/41084047#include#includeusing namespace std;typedef unsigned long long ull;int n,m,a,b,q;const ull s...
分类:
其他好文 时间:
2015-01-24 11:29:45
阅读次数:
182
// A simple quickref for Eigen. Add anything that's missing.// Main author: Keir Mierle#include Matrix A; // Fixed rows and cols. Same a...
分类:
其他好文 时间:
2015-01-23 17:59:25
阅读次数:
1029
1.定义:邻接矩阵(Adjacency Matrix):是表示顶点之间相邻关系的矩阵。设G=(V,E)是一个图,其中V={v1,v2,…,vn}。G的邻接矩阵是一个具有下列性质的n阶方阵:①对无向图而言,邻接矩阵一定是对称的,而且对角线一定为零(在此仅讨论无向简单图),有向图则不一定如此。②在无向图...
分类:
其他好文 时间:
2015-01-22 10:51:04
阅读次数:
347
题目链接:https://oj.leetcode.com/problems/spiral-matrix/
题目内容:
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
For example,
Given the follo...
分类:
其他好文 时间:
2015-01-22 09:32:41
阅读次数:
186
题目链接:https://oj.leetcode.com/problems/set-matrix-zeroes/
题目内容:
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow u...
分类:
其他好文 时间:
2015-01-22 09:32:37
阅读次数:
193
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?可以找规律 得出映射关系,(i,j)=...
分类:
其他好文 时间:
2015-01-21 23:52:48
阅读次数:
133
顺时针打印矩阵
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
For example,
Given the following matrix:
[
[ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9...
分类:
其他好文 时间:
2015-01-21 20:04:46
阅读次数:
165
Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.使用dpHeight[]数组来记...
分类:
其他好文 时间:
2015-01-20 21:45:37
阅读次数:
199