当前位置:首页
> Luz 第2648页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Local minimum cost problem of smooth engineering
Through the investigation of urban traffic conditions in a certain area, the statistical data of the existing expressway…
PROGRAMMING:List Components
For a given undirected graph with N vertices and E edges, please list all the connected components by both DFS (Depth Fi…
PROGRAMMING:Print the list of students who choose courses
Suppose the school has up to 40000 students and up to 2500 courses. Now give each student's course selection list, reque…
PROGRAMMING:Consecutive Factors
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be fac…
PROGRAMMING:Print students' course selection list
Suppose the school has up to 40000 students and up to 2500 courses. Now, the list of students for each course is given.…
PROGRAMMING:Perfect Sequence
Given a sequence of positive integers and another positive integer $$p$$. The sequence is said to be a "perfect sequenc…
PROGRAMMING:Build A Binary Search Tree
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:- The left subtree…
PROGRAMMING:Say Hello to Integers
Say hello to integers? Yes! You're right! Now let's say hello to the integerRead in two integers, and then output gree…
PROGRAMMING:Document similarity based on word frequency
To achieve a simple original file similarity calculation, that is to define the similarity based on the proportion of th…
PROGRAMMING:Trapped numbers
For any natural number $$n_ 0 $$, first add all its digits, then multiply the sum by 3 and add 1 to make a new natural n…