当前位置:首页
> Luz 第2636页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:find the root of the quadratic equation
This topic requires the root of the quadratic equation of one variable $$ax ^ 2 + BX + C = 0 $$, and the result retains…
PROGRAMMING:Three days fishing, two days net drying
There is a Chinese saying called "fishing in three days and drying the net in two days". Suppose someone starts "fishing…
PROGRAMMING:Output triangle area and perimeter
This problem requires programming, according to the three sides of the input triangle $$a $, $$B $$, $$C $$, calculate a…
PROGRAMMING:Number of black holes
The number of black holes, also known as the trap number, also known as "kaprekar problem", is a kind of number with pec…
PROGRAMMING:Han Soldiers
In the history of Chinese mathematics, there is a widely spread story of "Han Xin ordering soldiers": Han Xin was a grea…
PROGRAMMING:Find the number of digits of an integer and the sum of all digits
For a given positive integer n, find its digits and the sum of its digits.###Input format:Enter a positive integer n on…
PROGRAMMING:Calculation of fuel charge
Now 90 gasoline is 6.95 yuan / L, 93 gasoline is 7.44 yuan / L, 97 gasoline is 7.93 yuan / L. In order to attract custom…
PROGRAMMING:Verification of Goldbach's conjecture
The general meaning of the famous "Goldbach conjecture" in the field of mathematics is that any even number greater than…
PROGRAMMING:Output triangle character array
This problem requires the preparation of procedures, output $$n $$line from the capital letter A to form a triangle char…
PROGRAMMING:Mason number
A prime number in the form of $$2 ^ n - 1 $$is called a Mersenne number. For example, $$2 ^ 2 - 1 = 3 $$, $$2 ^ 3 - 1 =…