当前位置:首页
> Luz 第2865页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Polynomial addition
One day, $$DH $$got two polynomials. Now he wants to know the coefficient of each term after the addition of the two pol…
PROGRAMMING:The longest common substring length of two strings
Find the longest common substring length of two strings.###Input format:Enter two strings S and t of length ≤ 100.###Out…
PROGRAMMING:Deficit 3
Deficit 3```A positive integer n is called a perfect number if the sum of all its true divisors equals itself.For exampl…
PROGRAMMING:All longest common substrings of two strings
Find all the longest common substrings of two strings.###Input format:Enter two strings S and T with length ≤ 100 in tur…
PROGRAMMING:Maximum subsegment sum problem
The largest subsegment and problem. Given a sequence of N integers, the maximum sum of subsegments of the sequence is ob…
PROGRAMMING:Maximum subsegment sum problem
The largest subsegment and problem. Given a sequence of N integers, the maximum sum of subsegments of the sequence is ob…
PROGRAMMING:Repeat printing
Requires repeated printing of characters or text###Input format:For example, enter "x y"###Output format:Repeat the Y ch…
PROGRAMMING:Calculate the days of the month
Enter the year and month, output the days of the month. Note: January, March, may, July, August, October and December ar…
PROGRAMMING:Change for coin
How many different ways can I change a sum of change into 5, 2 and 1 cent coins?###Input format:Enter the amount of chan…
PROGRAMMING:Summation of factorial sequence expression with sign change
This problem requires the preparation of procedures, calculation sequence 1- 2!+ 3!- 4!+ The sum of the first n terms of…