当前位置:首页
> Luz 第2694页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Using pointer to return multiple function values
Read in n integers and * * call max_ Min() function to find the maximum and minimum of the N numbers * *.###Input format…
PROGRAMMING:Travel together in autumn
You can go for an autumn outing! Students, don't mention how happy! The teacher said, it's a little dangerous to act alo…
PROGRAMMING:minimum spanning tree
Give an undirected graph, find out the minimum spanning tree, if the graph is not connected, output no [test case: Inter…
PROGRAMMING:The shortest path problem
Given the traffic graph between N villages, if there is a road between villages I and j, the vertices I and j are connec…
PROGRAMMING:Depth traversal of undirected graph
The algorithm is designed to realize the depth traversal of undirected graph G, which requires that the vertices in each…
PROGRAMMING:Sequence output of digraph
Given the given digraph, then the output sequence of DFS and BFS, if for the same graph and the same initial node, then…
PROGRAMMING:Expression evaluation
Write a program that reads an expression in a line as input and prints out the result. Only non-negative integers and op…
PROGRAMMING:Grouping problem
An algorithm is designed to solve the following problemsThere are n people (2 ˂ = n ˂ = 100), and they are divided into…
PROGRAMMING:The shortest way back to the court
In the school competition every year, all the students who enter the final will get a beautiful T-shirt. But every time…
PROGRAMMING:Generating inverse adjacency table from adjacency table
Given a digraph, a total of N nodes (n ˂ = 1000), e edges, each node is the number of int type, establish the adjacency…