码迷,mamicode.com
首页 >  
搜索关键字:cup    ( 820个结果
Looksery Cup 2015——AFace Detection
The developers of Looksery have to write an efficient algorithm that detects faces on a picture. Unfortunately, they are currently busy preparing a co...
分类:其他好文   时间:2015-06-11 19:10:00    阅读次数:144
codeforces #549 Looksery Cup 部分题解
掉Rating快乐~~A.Face Detection题目大意:给定一个n?mn*m的矩阵,求有多少2?22*2的子矩形满足单词“face”的每个字母在矩形中恰好出现一次签到题#include #include #include #include #define M 55 using namespace std; i...
分类:其他好文   时间:2015-06-09 20:11:39    阅读次数:229
codeforces Looksery Cup 2015 D. Haar Features
The first algorithm for detecting a face on the image working in realtime was developed by Paul Viola and Michael Jones in 2001. A part of the algorithm is a procedure that computes Haar features. A...
分类:其他好文   时间:2015-06-08 15:01:03    阅读次数:182
Looksery Cup 2015 Editorial
下面是题解,做的不好。下一步的目标是rating涨到 1800,没打过几次cfA. Face DetectionAuthor:MonyuraOne should iterate through each 2x2 square and check if it is possible to rearra...
分类:其他好文   时间:2015-06-07 21:23:51    阅读次数:128
Java多态:upcast和downcast
upcast例:public class Test{ public static void main(String[] args) { Cup aCup = new BrokenCup(); aCup.addWater(10); // method bind...
分类:编程语言   时间:2015-06-07 18:39:43    阅读次数:410
codeforces Looksery Cup 2015 H Degenerate Matrix
The determinant of a matrix 2?×?2 is defined as follows: A matrix is called degenerate if its determinant is equal to zero. The norm ||A|| of a matrix A is defined as a maximum of absolute v...
分类:其他好文   时间:2015-06-07 13:52:04    阅读次数:121
codeforces Looksery Cup 2015 H Degenerate Matrix 二分 注意浮点数陷阱
#include #include #include #include #include #include using namespace std; bool fun(double l1,double r1,double l2,double r2){ return (l1 = l2) || (l2 >= l1 && l2 <= r1); } int main() { doub...
分类:其他好文   时间:2015-06-07 09:31:20    阅读次数:101
hdu2289 Cup(二分)
题意:给出圆台的底面半径,顶部半径,高还有水的体积,求水的高度思路:我们可以直到水的高度必然在0到最大高度之间,在这个区间内进行二分即可#include #include #include #include using namespace std; #define PI acos(-1.0) #define exp 1e-9 double solve(double r,double R,doubl...
分类:其他好文   时间:2015-06-03 23:35:20    阅读次数:133
iostat命令学习
iostat命令主要用于监控linux系统下cup和磁盘IO的统计信息可以通过iostat --help获得该命令的帮助信息[oracle@std ~]$ iostat --helpUsage: iostat [ options... ] [ [ ] ]Options are:[ -c | -d.....
分类:移动开发   时间:2015-06-03 15:25:58    阅读次数:210
mpstat命令学习
mpstat是一个linux系统实时监控工具,它与vmstat命令类似mpstat命令监控了cup的一些统计信息且这些信息存放在/proc/stat文件中mpstat命令多用在多cpu系统中,查看所有cpu的平均状况信息,也可查看特定cpu信息(vmstat看到的是cpu的总的信息)可通过mpsta...
分类:其他好文   时间:2015-06-02 13:15:16    阅读次数:158
820条   上一页 1 ... 67 68 69 70 71 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!