当前位置:首页
> Luz 第2966页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Graph depth first traversal
Write a program for a given digraph (not necessarily connected) depth first traversal, the graph contains n vertices, nu…
PROGRAMMING:Select the location of the hospital
Let a, B, C, D, e and f denote six villages in a township, and the weight on the arc denotes the distance between the tw…
PROGRAMMING:Maze variant - shortest path
The figure below shows a maze, with - 1 around the maze representing a wall, and - 1 inside the maze representing an obs…
PROGRAMMING:Select sort
This problem requires reading in n integers from the keyboard and sorting these integers. Output the result of each step…
PROGRAMMING:green grassland
As the sheep and sheep fight with gray wolf every day, the grass on the grassland is neglected, so they find a grass pla…
PROGRAMMING:List stores animal objects
This question requires that animals, including birds and dogs, be stored in the list. Please write the code to complete…
PROGRAMMING:Sum up
S = 1 + 2 + 3 +... + N, when s is greater than m for the first time, the value of n is?The value of M is input from the…
PROGRAMMING:Sum up
Enter a positive integer n from the keyboard, and find the sum of positive integers within n that can be divided by 3 (i…
PROGRAMMING:Output all divisors of an integer (excluding 1 and itself).
This topic requires reading in an integer and outputting all its divisors (exhaustive method). If it is a divisor, it wi…
PROGRAMMING:LC's game road 1
Recently, $$LC $$is addicted to a game and has fun every day. But there is a bad thing about this game, that is, when yo…