当前位置:首页
> Luz 第2688页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Decimal to hexadecimal
Write a program to prompt the user to enter an integer between 0 and 15 to display its corresponding hexadecimal number.…
PROGRAMMING:Java - find the number of times in the integer sequence
It is required to count the highest number of integers in an integer sequence and their occurrence times.###Input format…
PROGRAMMING:Java narcissus number
Narcissus number refers to an n-bit positive integer (7 ≥ n ≥ 3), the sum of the n-th power of the numbers in each bit o…
PROGRAMMING:Count the number of positive and negative numbers, and then calculate the average of these numbers
Write a program, input the integer without specified number, judge how many positive numbers are read in and how many ne…
PROGRAMMING:Huffman coding
###Input format:There is only one line, which is a string compose…
PROGRAMMING:Digital triangle
Given a number triangle composed of N rows of numbers, as shown in the figure below. Try to design an algorithm to calcu…
PROGRAMMING:Inverse Polish expression evaluation
Inverse Polish representation is a method of describing programs (expressions) by writing operators after operands. For…
PROGRAMMING:Maximum subsegment sum
Given the sequence a [1], a [2], a [3],..., a [n] composed of N integers (which may be negative), find the maximum value…
PROGRAMMING:The first t combination results
Combination resultsFind out any combination of R (0 ˂ R ˂ = n) numbers from natural numbers 1, 2,..., n (0 ˂ n ˂ = 30),…
PROGRAMMING:Introduction to jmu-java-01 - formatting input / output and strings
###The main investigation of this topic-Using 'scanner' to process input-Use 'system. Out. Printf' to format output-Comm…