当前位置:首页
> Luz 第2712页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Building and traversing binary tree
Define the precedence sequence of a binary tree in the form of string. If the character is' # ', it means that the binar…
PROGRAMMING:Narcissus number (20 points)
Narcissus number refers to an n-bit positive integer (n ≥ 3), the sum of the n-th power of the numbers in each bit of na…
PROGRAMMING:Judge prime
Determine whether a given positive integer is prime###Input format:Input a positive integer n (≤ 10) in the first line,…
PROGRAMMING:List de duplication
Given a linked list L with integer key values, you need to delete the node with repeated absolute values. That is, for e…
PROGRAMMING:Social cluster
When you register on a social networking platform, you are always required to fill in your personal interests in order t…
PROGRAMMING:Altar
In the ancient city of Mindray, there stand n sacred stones. The elders deliberated and selected three sacred stones to…
PROGRAMMING:String detection based on DFA
Deterministic finite state automata (DFA) can be understood as a structure composed of several States, which can automat…
PROGRAMMING:Combine to find the maximum and minimum
Input 4 integers within 0 ~ 9 from the keyboard, and calculate the maximum and minimum values of the integers composed o…
PROGRAMMING:Palindrome tester
A palindrome is a number or a text phrase that reads the same backwardas forward. For example, each of the following fiv…
PROGRAMMING:Decimal Equivalent
Input an integer and print its decimal equivalent. [Hint: Use the remainder anddivision operators to pick off the denary…