码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
Number Sequence(杭电1005)
/*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 ...
分类:其他好文   时间:2014-08-08 21:29:16    阅读次数:386
zoj 3772 Calculate the Function
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5235这道题需要构造矩阵:F(X)=F(X-1)+F(X-2)*A(X)转化为F(X)*A(X+2)+F(X+1)=F(X+2),然后在构造矩阵{1, A[x]} {F(x+1)}...
分类:其他好文   时间:2014-08-07 12:44:10    阅读次数:229
maven
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for...
分类:其他好文   时间:2014-08-05 19:42:30    阅读次数:236
JavaScript实现计算器功能
截图 :cal.jsJs代码varClass={};Class.calculation=function(){varcalculation={};calculation.result=0;calculation.calculate=function(num1,num2){};calculation....
分类:编程语言   时间:2014-08-05 09:27:18    阅读次数:294
HDU 1003 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 +...
分类:其他好文   时间:2014-08-04 17:52:47    阅读次数:187
hdu 1012 u Calculate e
#include#includeusing namespace std;int main(){ cout << "n" << ' ' << "e" << endl; cout << "-" << ' ' << "-----------" << endl; cout << 0 << ' ' << 1 ...
分类:其他好文   时间:2014-08-04 14:00:57    阅读次数:170
【CodeChef】Small factorials(BigInteger笔记)
You are asked to calculate factorials of some small positive integers.InputAn integer t, 1 0){20 int num = Integer.parseInt(bf.readLine())...
分类:其他好文   时间:2014-07-31 20:05:57    阅读次数:165
How many Fibs?(高精度)
Description Recall the definition of the Fibonacci numbers:  f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range...
分类:其他好文   时间:2014-07-31 17:11:07    阅读次数:325
HDU 2141 Can you find it?
Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbe...
分类:其他好文   时间:2014-07-31 12:54:46    阅读次数:704
A + B Problem II(杭电1002)
/*A + B Problem II Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.   Input The first line of the input contains an...
分类:其他好文   时间:2014-07-30 17:38:54    阅读次数:306
959条   上一页 1 ... 89 90 91 92 93 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!