-->
当前位置:首页 > Luz 第2967页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Write a function to determine whether a positive integer is a prime

Luz5年前 (2021-05-10)375
Write a function isprime (int n) to determine whether a positive integer n is a prime number. If n is a prime number, th…

PROGRAMMING:Finding the greatest common divisor and the least common multiple of two integers

Luz5年前 (2021-05-10)389
Find the greatest common divisor and the least common multiple of two integers. Define a function to find the greatest c…

PROGRAMMING:Live Award

Luz5年前 (2021-05-10)456
A programming contest will be held soon. In order to increase the appreciation, the organizing committee decided to eval…

PROGRAMMING:Arrange papers

Luz5年前 (2021-05-10)375
Given n papers with numbers from 1 to N and M citation relations in the form of D, u ($$1 / Le D, U / Le n, D / NEQ, u $…

PROGRAMMING:Labyrinth

Luz5年前 (2021-05-10)454
A maze consists of N rows and m columns. Some of the lattices are open space and can walk; Some grids are obstacles and…

PROGRAMMING:Finding the maximum and minimum value in a matrix

Luz5年前 (2021-05-10)321
Enter an n × M integer matrix (n ˂ = 10, m ˂ = 10), and then output the maximum and minimum values, and output the subsc…

PROGRAMMING:Minimum spanning tree

Luz5年前 (2021-05-10)403
Given a positive weighted undirected graph with n vertices, it is numbered from 0 to n-1. Please write a program to find…

PROGRAMMING:Maze II

Luz5年前 (2021-05-10)382
A maze consists of N rows and m columns. Some of the lattices are open space and can walk; Some grid is an obstacle, can…

PROGRAMMING:Super Marie

Luz5年前 (2021-05-10)571
Suppose there are n castles, numbered 1 to N. some castles are directly connected by roads, and some castles are not dir…

PROGRAMMING:Mode

Luz5年前 (2021-05-10)476
Given a number of positive integers, please find the number with the most occurrences.###Input format:Enter a number of…