当前位置:首页
> Luz 第3014页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Optimal triangulation of convex polygon
Given an n-sided convex polygon P, it is necessary to determine the triangulation of the convex polygon (divide the poly…
PROGRAMMING:Four simple operations
Read in two positive integers and find their sum, difference, product and quotient.###Input format:Give two positive int…
PROGRAMMING:Polygon game
This topic gives a polygon with n vertices. Each vertex is marked with a number to represent the value of the point. Eac…
PROGRAMMING:flow shop scheduling
N jobs {1, 2,..., n} are processed on the assembly line composed of two machines M1 and M2. Each job is processed on M1…
PROGRAMMING:Hello, world!
Say "Hello" to the world.Show "Hello, world!" on the screen.### Input Specification:No input.### Output Specification:P…
PROGRAMMING:Optimal binary search tree
Let $$s = \ {x}_ 1,x_ 2,...,x_ N \} $$is an ordered set, and $$X_ 1˂x_ 2˂...˂x_ N $$, which represents the binary search…
PROGRAMMING:Enter the radius and calculate the circle area
This topic requires input circle radius, calculate and output circle area.###Input format:Enter a number on a linefive##…
PROGRAMMING:Enter the radius (greater than 0) to calculate the circle area
This topic requires input radius (greater than 0), and calculate the circle area.Note: if the radius entered is not grea…
PROGRAMMING:Calculate the sum of 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9
Write a program to calculate the sum of 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9.###Input format:No input###Output format:1 + 2…
PROGRAMMING:Output inverted triangle
Enter any character and print the inverted triangle (4 lines) formed by the character.###Input format:Enter a character,…