当前位置:首页
> Luz 第2995页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Quadratic equation of one variable
Input three coefficients to find the solution of quadratic equation with one variable, and output all possible cases, in…
PROGRAMMING:You answer the question by computer
Enter a four arithmetic expression (add, subtract, multiply, divide) in the form of a + B to represent the question you…
PROGRAMMING:Piecewise function
The definition of known function y is as follows: program input x, input y. If x exceeds the definition, output: no defi…
PROGRAMMING:Output divisor
Program input a positive integer, output all its divisors.###Input example:```inone hundred```###Output example:```out1…
PROGRAMMING:Outputs the sum of 1 to n
Outputs the sum of 1 to n###Input format:An integer n.###Output format:And.###Input example:```inten```###Output example…
PROGRAMMING:Iteration of radical 2
There is an iterative formula: $$X_ n=\sqrt {x_{ N-1} + 2} $$, no matter how large the initial value (positive number) o…
PROGRAMMING:Output least common multiple
Input two numbers and output their least common multiple.###Input example:```in36 24```###Output example:```outseventy-…
PROGRAMMING:Fibonacci sequence
The general formula of Fibonacci sequence is as follows:Th…
PROGRAMMING:Prime judgment
Enter a positive integer and output whether it is a prime.###Input example:```infifteen```###Output example:```outNO```#…
PROGRAMMING:Output greatest common divisor
Input two numbers and output their greatest common divisor.###Input example:```in36 24```###Output example:```outtwelve`…