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

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Matrix transpose

Luz5年前 (2021-05-10)489
Given an n × The integer matrix of n (1 ˂ = n ˂ = 20) is transposed according to the main diagonal, that is, row and col…

PROGRAMMING:Ask for the last person in the circle

Luz5年前 (2021-05-10)436
There are n (n ˂ = 50) people in a circle, starting from 1, starting from the first person, and starting from 1 to m (m…

PROGRAMMING:Count words and spaces

Luz5年前 (2021-05-10)384
There are three lines of text, find out how many spaces and how many words there are (specify one or more spaces between…

PROGRAMMING:Find the value of S = a + AA + AAA +... + AA... A

Luz5年前 (2021-05-10)611
Find the value of S = a + AA + AAA +... + AA... A (n a), where a is a number, such as 2 + 22 + 222 + 2222 + 22222 (n = 5…

PROGRAMMING:Count the number of uppercase letters, lowercase letters, spaces and punctuation marks

Luz5年前 (2021-05-10)442
Input n (1 ˂ = n ˂ = 10) lines of characters (within 80 characters per line), and count the number of uppercase letters,…

PROGRAMMING:Substring

Luz5年前 (2021-05-10)411
Write a function to output n characters starting from the ith character in a string, such as the string "I love China!",…

PROGRAMMING:A cunning rich man

Luz5年前 (2021-05-10)442
The old housekeeper is a smart and capable man. He worked for a rich man for 10 years, who wanted to make his accounts c…

PROGRAMMING:Exchange maximum decimal position

Luz5年前 (2021-05-10)378
Enter n (1 ˂ = n ˂ = 20) integers with no more than 2 bits, and exchange the smallest number with the first one, and exc…

PROGRAMMING:Narcissistic number

Luz5年前 (2021-05-10)499
Print out all the Narcissus numbers. The so-called "narcissus number" refers to a three digit number whose cubic sum of…

PROGRAMMING:Write a prime function

Luz5年前 (2021-05-10)505
Write a prime function fun. Input an integer n in the main function, judge whether the output is a prime in the function…