码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[LeetCode] 832. Flipping an Image_Easy
Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means t ...
分类:其他好文   时间:2018-08-17 01:23:06    阅读次数:131
Sparse Matrix Multiplication
Sparse Matrix Multiplication public class Solution { public int[][] multiply(int[][] a, int[][] b) { if (a == null || b == null) { return new int[0][0... ...
分类:其他好文   时间:2018-08-17 01:22:56    阅读次数:120
css3动画效果
transform:2D变形:通过 CSS3 转换,我们能够对元素进行移动、缩放、转动、拉长或拉伸。转换方法:translate()/rotate()/scale()/skew()/matrix() none 定义不进行转换。translate(x,y) 定义 2D 平移转换。translateX( ...
分类:Web程序   时间:2018-08-16 23:50:40    阅读次数:419
HDU 2767 Proving Equivalences (Tarjan縮點)
Time limit :2000 ms Memory limit :32768 kB Consider the following exercise, found in a generic linear algebra textbook. Let A be an n × n matrix. Prov ...
分类:其他好文   时间:2018-08-16 22:33:05    阅读次数:190
一个矩阵类模板
1 #ifndef MATRIX_H 2 #define MATRIX_H 3 4 5 #include 6 #include 7 8 template 9 class Matrix 10 { 11 private: 12 T** elem; 13 int size_x, size_y; 14 pu... ...
分类:其他好文   时间:2018-08-16 13:44:12    阅读次数:178
HDU多校8 Parentheses Matrix(构造)
Parentheses Matrix Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0S ...
分类:其他好文   时间:2018-08-15 18:36:35    阅读次数:149
bzoj 1002 [FJOI2007]轮状病毒 Matrix-Tree定理+递推
题面 "题目传送门" 解法 求无向图生成树个数,可以直接通过Matrix Tree定理求 但是$n≤100$,精度肯定爆了 所以先打个表找个规律: $1,5,16,45,121,320,841…$ 可以发现,奇数项感觉都是完全平方数,偶数项和完全平方数似乎也有点关系 ~~仔细研究表,~~发现$F_i ...
分类:其他好文   时间:2018-08-14 19:56:02    阅读次数:140
bzoj 2875 [Noi2012]随机数生成器 矩阵乘法
题面 "题目传送门" 解法 矩阵乘法sb题 注意整数乘法要使用龟速乘,否则会爆long long 代码 cpp include define int long long using namespace std; struct Matrix { int a[4][4]; void Clear() {m ...
分类:其他好文   时间:2018-08-14 19:51:46    阅读次数:136
HihoCoder - 1336 二维数状数组(单点更新 区间查询)
You are given an N × N matrix. At the beginning every element is 0. Write a program supporting 2 operations: 1. Add x y value: Add value to the elemen ...
分类:编程语言   时间:2018-08-14 11:22:46    阅读次数:136
POJ 2155 Matrix【二维树状数组+YY(区间更新,单点查询)】
题目链接:http://poj.org/problem?id=2155 Matrix Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 32950 Accepted: 11943 Description Given an N*N m ...
分类:编程语言   时间:2018-08-12 22:49:08    阅读次数:225
4333条   上一页 1 ... 97 98 99 100 101 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!