摘要:
从变化率的角度而言,导数记录了x,y的相对变化率。 因此$\frac{{\Delta y}}{{\Delta x}}$是一种平均变化,取其极限记为 $\frac{{dy}}{{dx}}$ ,这是瞬时变化率。 例: 1. q表示电荷, $\frac{{d{\rm{q}}}}{{dt}}$表示电流。 2 阅读全文
摘要:
Problem Description There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2). Input Input consists of a sequenc 阅读全文
摘要:
Problem Description Given a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same char 阅读全文
摘要:
导数的几何解释: 定义: F在x0的导数是y=f(x)在P(x0,y0)处的斜率,记为f’(x)。 切线其实是一种极限,是Q趋近于P时,割线PQ的极限。 斜率: 斜率${\rm{m}} = \mathop {\lim }\limits_{\Delta {\rm{x}} \to 0} \frac{{\ 阅读全文
摘要:
Problem Description The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbe 阅读全文
摘要:
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit the 阅读全文
摘要:
Problem Description A simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations o 阅读全文
摘要:
Problem Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean 阅读全文
摘要:
Problem Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at w 阅读全文
摘要:
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 阅读全文
摘要:
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is gues 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Problem Description In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. Input The input will consist of a series of integers n, o 阅读全文
摘要:
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in 阅读全文