当前位置:首页
> Luz 第2908页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Finding numbers satisfying conditions (Cixi, 2007)
Input n (n ˂ = 32767), output integers within n (including n), so that the sum of the numbers is 15, and output 8 number…
PROGRAMMING:Height of best couple
The best couple height difference follows a formula: (the height of the woman) × 09 = (male's height). Now please try to…
PROGRAMMING:Count the number of words (Cixi, 2006)
Input a sentence, the sentence only English words and spaces, each word is separated by one or more spaces, statistics o…
PROGRAMMING:Find the longest well ordered string (Cixi, 2007)
We call "ABC" or "ACEG" and other similar strings well ordered (because they are arranged in ASCII code), while "ACB" or…
PROGRAMMING:raise
Enter a set of salary data and write it to the list. For wages less than 5000, increase 1.5 times. And output the wage d…
PROGRAMMING:Find the approximate value of e whose error is less than the input value
The natural constant e can be expressed as Series $$1 + \ frac {1} {1!}+\ frac{1}{2!}+...+\ frac{1}{n!}$$ To approximate…
PROGRAMMING:Least moves (Cixi, 2007)
There are n piles of candy (2 ≤ n ≤ 200) in a row, numbered 1, 2,... N respectively.It is known that each pile of candy…
PROGRAMMING:Find the last 250
The other person doesn't want to talk to you and throws a string of numbers at you... And you have to find the touching…
PROGRAMMING:Calculate the sum of the products of the corresponding bits
Read in two integers a and B, and output the sum of the products of the corresponding bits of absolute value a and absol…
PROGRAMMING:Product of even numbers
Find the product of all even numbers from 1 to n$$ n\le 20$$)###Input format:Enter the integer n.###Output format:Even p…