当前位置:首页
> Luz 第2631页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Finding odd sum
This problem requires computing the sum of odd numbers in a given series of positive integers.###Input format:Input give…
PROGRAMMING:Summation of special A-Series sequence
Given two positive integers $$a $$and $$n $$which are not more than 9, it is required to write a program to find the sum…
PROGRAMMING:Finding the sum of the first n terms of fractional sequence
This problem requires programming to calculate the sum of the first n items of the sequence 2 / 1 + 3 / 2 + 5 / 3 + 8 /…
PROGRAMMING:exchange coins
How many different ways can I change a sum of change into 5, 2 and 1 cent coins?###Input format:Enter the amount of chan…
PROGRAMMING:Falling ball
The ball falls freely from a given height, rebounds to half of the original height after touching the ground, falls agai…
PROGRAMMING:Print diamond pattern
This problem requires writing a program to print a regular diamond pattern composed of "*" with height of $$n $.###Input…
PROGRAMMING:Greatest common divisor and least common multiple
This problem requires the greatest common divisor and the least common multiple of two given positive integers.###Input…
PROGRAMMING:The problem of monkeys eating peaches
A monkey picked several peaches on the first day, ate half of them immediately, and then ate one more; The next morning,…
PROGRAMMING:Find elements that are not common to both arrays
Given two integer arrays, this problem requires finding out the elements that are not common to both.###Input format:The…
PROGRAMMING:sort
Given $$n $(in the range of long integers), it is required to output the sorted results from small to large.The purpose…