-->
当前位置:首页 > Luz 第2745页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:sort

Luz5年前 (2021-05-10)364
Sort n (˂ = 40) integers in ascending order.###Input format:There are several groups of test data, which are processed t…

PROGRAMMING:Reverse sequence

Luz5年前 (2021-05-10)457
![ 20121017_ 11.jpg](~/c65db788-f85d-44cf-9fc8-5a43f477419c.jpg)###Input example:Here is a set of inputs. For example:``…

PROGRAMMING:Count the number of characters

Luz5年前 (2021-05-10)462
Input a paragraph of English (more than 20 characters, less than 80 characters) continuously from the keyboard, and then…

PROGRAMMING:Digital output

Luz5年前 (2021-05-10)415
Give a positive integer with no more than 5 bits.(1) Find out how many digits it is.(2) Print out each digit separately.…

PROGRAMMING:Using Gregory formula to get pI value of given precision

Luz5年前 (2021-05-10)571
This problem requires programming to calculate the sequence part and $$4 * (1 - 1 / 3 + 1 / 5 - 1 / 7 +...) $$, until th…

PROGRAMMING:Monkeys eat peaches

Luz5年前 (2021-05-10)491
On the first day, the monkey picked some peaches and ate half of them immediately, but he didn't feel good and ate one m…

PROGRAMMING:Statistics of a group of students' average score and the number of failed students

Luz5年前 (2021-05-10)353
This problem requires the preparation of procedures to calculate the average score of students, and statistics of the nu…

PROGRAMMING:Determine whether an integer is a prime

Luz5年前 (2021-05-10)449
This problem requires the preparation of procedures to determine whether a given integer is a prime number. A prime is a…

PROGRAMMING:Count the number of digits of an integer

Luz5年前 (2021-05-10)436
This problem requires programming, for a given integer $$n $$, find its digits.###Input format:Enter an integer $$n $$wi…

PROGRAMMING:Simple number guessing game [2]

Luz5年前 (2021-05-10)365
The number guessing game is to make the game machine randomly generate a positive integer within 100, and the user input…