码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
OpenCV BM 算法
一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看:     Basically OpenCV provides 2 methods to calculate a dense disparity map: cvFindStereoCorrespondenceBM: Fast (can proce...
分类:编程语言   时间:2015-04-26 12:26:24    阅读次数:1812
HDOJ-1012 u Calculate e(水)
http://acm.hdu.edu.cn/showproblem.php?pid=1012简单套公式# include double Factorial(double num){ if(num == 0 || num == 1) return 1; return Factorial(num - ....
分类:其他好文   时间:2015-04-26 10:42:31    阅读次数:131
HDU 1003 Max Sum
Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7)...
分类:其他好文   时间:2015-04-24 12:29:58    阅读次数:166
大数运算之加法
描述I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.A,B must be positive.输入The first line of...
分类:其他好文   时间:2015-04-24 00:55:13    阅读次数:128
zoj 3772 Calculate the Function(线段树+矩阵乘法)
Calculate the Function Time Limit: 2 Seconds      Memory Limit: 65536 KB You are given a list of numbers A1 A2 .. AN and M queries. For the i-th query: The query has two parameters L...
分类:其他好文   时间:2015-04-23 17:39:54    阅读次数:185
杭电1042(N!)
点击打开杭电1042 Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!   Input One N in one line, process to the end of file.   Output For each N, output N! i...
分类:其他好文   时间:2015-04-23 15:50:21    阅读次数:239
第七周上机实践项目2——自选图形用户界面程序开发
效果如图 这是一个非常简略的计算器。。。。 放上代码 class.h class list { public: list(){ a = 1; b = 1; e = '+'; } list(double x, CString p, double y) :a(x), e(p), b(y){} double calculate(void); private: double a, ...
分类:其他好文   时间:2015-04-23 00:07:33    阅读次数:153
Number Sequence
Problem Description A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, and n, you are to calculate the value of f(n).   I...
分类:其他好文   时间:2015-04-22 14:01:08    阅读次数:145
Max Sum
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 +...
分类:其他好文   时间:2015-04-22 11:36:55    阅读次数:137
zoj 3707 Calculate Prime S
fibonacci数列的性质: 1.gcd(fib(n),fib(m))=fib(gcd(n,m)) 证明:可以通过反证法先证fibonacci数列的任意相邻两项一定互素,然后可证n>m时gcd(fib(n),fib(m))=gcd(fib(n-m),fib(m)),递归可 求gcd(fib(n),fib(m))=gcd(fib(k),fib(l)),最后k=l,不然继续递归。K...
分类:其他好文   时间:2015-04-21 22:42:35    阅读次数:258
959条   上一页 1 ... 72 73 74 75 76 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!