当前位置:首页
> Luz 第2811页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:String partial join
Write a program to realize the partial connection of two strings, and connect the string starting from the subscript m i…
PROGRAMMING:Judge whether two numbers are coprime
Write a function to judge whether two positive integers m and N are coprime (that is, whether there is a common factor)…
PROGRAMMING:Finding the sum of the factorial of the first n terms
Input an integer n from the keyboard, find the sum of the factorial of the first n terms, 1 + 2+ 3!+...+ n! The sum of##…
PROGRAMMING:Mpsort: a recursive algorithm for bubble sort
Define a function mpsort to sort a group of data from small to large. Write a program to read in a number of integers an…
PROGRAMMING:How to pay bonus according to profit commission
Enterprises pay bonus according to profit commission. When the profit is less than or equal to 100000 yuan, the bonus ca…
PROGRAMMING:Sum of even bit special sequences
Given a positive integer a no more than 9, given a positive integer n, n is an even number, 4 ˂ = n ˂ = 18, it is requir…
PROGRAMMING:Weight function
Title DescriptionFor a recursive function w (a, B, c) w (a, B, c)• If a ≤ 0 or B ≤ 0 or C ≤ 0, the return value is 1•…
PROGRAMMING:Class inheritance and derivation
Define the planar two-dimensional point class CPoint, including data member X coordinate, y coordinate, function member…
PROGRAMMING:Character statistics
The function of the program is to read in a line of characters (including spaces) from the keyboard, and count the numbe…
PROGRAMMING:Xiaoyan loves even numbers*
There are several cards on the table, each with an integer written on it. Xiao Yan likes even numbers and takes away all…