码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[LeetCode] 74. Search a 2D Matrix 搜索一个二维矩阵
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f ...
分类:其他好文   时间:2018-03-23 10:28:36    阅读次数:162
[LeetCode] 240. Search a 2D Matrix II 搜索一个二维矩阵 II
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i ...
分类:其他好文   时间:2018-03-23 10:27:19    阅读次数:214
小Z的房间[HEOI2015] (matrix-tree定理)
题目链接:http://cogs.pro:8080/cogs/problem/problem.php?pid=1972 题解: 就是一道matrix-tree定理的模板题。(不熟悉该定理的同学请戳这里) 参考代码: 1 #include<iostream> 2 #include<cstdio> 3 ...
分类:其他好文   时间:2018-03-21 13:50:31    阅读次数:210
[LeetCode] 221. Maximal Square 最大正方形
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:其他好文   时间:2018-03-21 11:51:50    阅读次数:142
62. Unique Paths
62. Unique Paths 题目 解析 C++ class Solution_62 { public: int uniquePaths(int m, int n) { //matrix(m n) vector vecs(m, vector(n, 1)); for (int i = 1; i v ...
分类:其他好文   时间:2018-03-20 11:45:53    阅读次数:158
sniffer pro 使用方法
一、捕获数据包前的准备工作 在默认情况下,sniffer将捕获其接入碰撞域中流经的所有数据包,但在某些场景下,有些数据包可能不是我们所需要的,为了快速定位网络问题所在,有必要对所要捕获的数据包作过滤。Sniffer提供了捕获数据包前的过滤规则的定义,过滤规则包括2、3层地址的定义和几百种协议的定义。 ...
分类:其他好文   时间:2018-03-18 13:12:19    阅读次数:150
Toeplitz Matrix——leetcode
A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True if and only if the m ...
分类:其他好文   时间:2018-03-17 21:42:50    阅读次数:226
洛谷 P2919 [USACO08NOV]守护农场Guarding the Farm
P2919 [USACO08NOV]守护农场Guarding the Farm P2919 [USACO08NOV]守护农场Guarding the Farm 题目描述 The farm has many hills upon which Farmer John would like to plac ...
分类:其他好文   时间:2018-03-17 21:40:46    阅读次数:255
Codeforces225B - Well-known Numbers
"Portal" Description 定义$k$ bonacci数列$\{F_n\}$:$ \left\{\begin{matrix} F_i=0 \ (i 可以用数学归纳法证明。 若对于正整数$k$,$\forall s\in [0,F_k 1]$该结论成立,则$\forall s\in [F ...
分类:其他好文   时间:2018-03-13 14:05:12    阅读次数:159
HDU-5226 Tom and matrix题解
一、题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=5226 二、题意 给一个大矩阵,其中,$a[i][j] = C_i^j$。输入5个参数,$x_1, y_1, x_2, y_2, p$,输出:以$x_1, y_1$为左上角,$x_2, y_2$为右下 ...
分类:其他好文   时间:2018-03-12 22:57:35    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!