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

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Finding odd sum

Luz5年前 (2021-05-10)428
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

Luz5年前 (2021-05-10)464
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

Luz5年前 (2021-05-10)480
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

Luz5年前 (2021-05-10)398
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

Luz5年前 (2021-05-10)403
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

Luz5年前 (2021-05-10)433
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

Luz5年前 (2021-05-10)376
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

Luz5年前 (2021-05-10)399
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

Luz5年前 (2021-05-10)481
Given two integer arrays, this problem requires finding out the elements that are not common to both.###Input format:The…

PROGRAMMING:sort

Luz5年前 (2021-05-10)379
Given $$n $(in the range of long integers), it is required to output the sorted results from small to large.The purpose…