当前位置:首页
> Luz 第2844页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Defining classes and creating objects
Define a class person, define name and age attributes, and define a construction method with parameters to initialize na…
PROGRAMMING:Is there a path between two?
For a given * * undirected graph * * and two vertices in the graph, the number of vertices in the connected component of…
PROGRAMMING:Infer the number of students in their school
There are 'n' students from different schools in a competition. Give the relationship between'm 'and "two students belon…
PROGRAMMING:Odd order magic matrix
For each positive integer odd number n, output a NxN matrix (odd order magic matrix). The matrix elements are composed o…
PROGRAMMING:Clockwise matrix
Read the positive integer n in 20 and output the matrix distributed clockwise. The matrix content is 1, 2,... To n * n.#…
PROGRAMMING:The fox said grapes are sour
If the fox can't eat grapes, he says they are sour.####Input sample```in```Note: no input.####Output sample```outThe fox…
PROGRAMMING:What day is today?
Given a date between 1900 and 2100, output the day of the week. There are multiple sets of data. If the simplified formu…
PROGRAMMING:Greatest common divisor and least common multiple series
There are a series of positive integers, their greatest common divisor and least common multiple, the original positive…
PROGRAMMING:Output asterisk 1
Write a program to achieve the following functionsOutput n rows of asterisks, 5 * asterisks per row.###Input format:Ente…
PROGRAMMING:Output alphabetic sequence 1
Write a program to achieve the following functionsRead a character cbegin and a number Icount from the keyboard, and out…
