码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
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 ...
分类:其他好文   时间:2016-09-25 09:28:15    阅读次数:100
CodeForces 669C Little Artem and Matrix GNU
模拟。 把操作记录一下,倒着复原回去。 ...
分类:其他好文   时间:2016-09-25 09:27:24    阅读次数:89
用户头像的圆形显示
【问题说明】: 在显示注册用户的头像的时候,如果是矩形的话会比较难看,一般处理成圆形,需要2步: step1:将图片按照matrix进行压缩成正方形; step2:将正方形图片转为圆形图片 【工具类】: 下面提供2个方法: ...
分类:其他好文   时间:2016-09-25 00:54:04    阅读次数:288
POJ3233 Matrix Power Series
Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Given a n × n matrix A and a positive integer k, f ...
分类:其他好文   时间:2016-09-24 17:29:47    阅读次数:156
matrix_IE 下基点修正
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>无标题文档</title><style>.box{width:100px;height:100px ...
分类:其他好文   时间:2016-09-24 11:57:49    阅读次数:125
54. 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: You s ...
分类:其他好文   时间:2016-09-23 08:41:40    阅读次数:99
POJ2155 Matrix
题解: 二维IUPQ题目 注意1点,不是直接在add时不是直接^=1,而是统计转换次数,这样在计算才能sum 代码: ...
分类:其他好文   时间:2016-09-22 19:50:16    阅读次数:101
Matrix(poj2155)
Matrix Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 25139 Accepted: 9314 Description Given an N*N matrix A, whose elements are either 0 ...
分类:其他好文   时间:2016-09-21 21:19:16    阅读次数:180
construct a heatmap with matrix by HeatMap
HMobj = HeatMap(alldata,'RowLabels',{'JB1','JB2','JB3','JB4','JB5','JB6','JB7','JB8','JB9'}) alldata is a 9*253 matrix. Data range is [0 680]. 如何修改col ...
分类:其他好文   时间:2016-09-21 12:47:46    阅读次数:100
LeetCode54 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: Y ...
分类:其他好文   时间:2016-09-20 00:16:40    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!