码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
POJ3213(矩阵乘法)
PM3 Time Limit: 5000MS   Memory Limit: 131072K Total Submissions: 3036   Accepted: 1059 Description USTC has recently developed the Parallel Matrix Multiplication Machi...
分类:其他好文   时间:2014-10-11 20:09:16    阅读次数:223
poj3685(嵌套二分)
Matrix Time Limit: 6000MS   Memory Limit: 65536K Total Submissions: 4658   Accepted: 1189 Description Given a N × N matrix A, whose element in the i-th row and j-th colum...
分类:其他好文   时间:2014-10-11 18:45:15    阅读次数:103
leetcode - Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. class Solution { public: int largestRectangleArea(int* height, int length) { ...
分类:其他好文   时间:2014-10-11 17:37:26    阅读次数:156
【kruscal】【最小生成树】【搜索】bzoj1016 [JSOI2008]最小生成树计数
不用Matrix-tree定理什么的,一边kruscal一边 对权值相同的边 暴搜即可。将所有方案乘起来。 1 #include 2 #include 3 using namespace std; 4 int n,m; 5 struct Disjoint_Set 6 { 7 int fa[1...
分类:Web程序   时间:2014-10-11 16:55:06    阅读次数:232
Leetcode: 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 following matrix:[ [ 1, ...
分类:其他好文   时间:2014-10-11 08:50:35    阅读次数:134
网页中元素斜这显示
ie9以及主流浏览器ccs3transform:rotate(17deg)这个是效果用滤镜的话,这么写 filter:progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7660444431189777...
分类:Web程序   时间:2014-10-10 17:23:44    阅读次数:160
Spiral Matrix
[leetcode]Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order....
分类:其他好文   时间:2014-10-10 15:11:54    阅读次数:139
poj Kaka's Matrix Travels
Kaka's Matrix Travels   题目:    给出一个矩阵,求只能向下或者向右的情况下能得到的最大和。一般的是指遍历一次,而这个是可以重复走K次。每经过一次后就把该点设为0.求最大和。   算法:    想到了用网络流做。但是建图没什么自信。看了别人的才敢开始建。建图其实也不难,就是有一个拆点处理,因为,一个点走一次后其上的值就为0了。这个处理很巧妙!就是拆点后建立两条...
分类:其他好文   时间:2014-10-10 11:55:44    阅读次数:207
[LeetCode]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 following matrix: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] ...
分类:其他好文   时间:2014-10-09 17:03:37    阅读次数:143
HLJU 1188 Matrix (二维树状数组)
1118: Matrix Time Limit: 4 Sec  Memory Limit: 128 MB Description 给定一个1000*1000的二维矩阵,初始矩阵中每个数都为1,然后为矩阵有4种操作. S x1 y1 x2 y2:计算(x1,y1)、(x2,y2)围成的矩阵内所有元素的和。 A x y v:将(x,y)增加v D x y v...
分类:其他好文   时间:2014-10-09 15:25:38    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!