当前位置:首页
> Luz 第2745页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:sort
Sort n (˂ = 40) integers in ascending order.###Input format:There are several groups of test data, which are processed t…
PROGRAMMING:Reverse sequence
###Input example:Here is a set of inputs. For example:``…
PROGRAMMING:Count the number of characters
Input a paragraph of English (more than 20 characters, less than 80 characters) continuously from the keyboard, and then…
PROGRAMMING:Digital output
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
This problem requires programming to calculate the sequence part and $$4 * (1 - 1 / 3 + 1 / 5 - 1 / 7 +...) $$, until th…
PROGRAMMING:Monkeys eat peaches
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
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
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
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]
The number guessing game is to make the game machine randomly generate a positive integer within 100, and the user input…