当前位置:首页
> Luz 第2889页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Score of singing competition
There are 10 singers (numbered 1-10) participating in the singing competition, and another 6 judges scoring. The score o…
PROGRAMMING:Find the triangle
Can you find three of the given $$n $$numbers so that they can form a triangle.###Input format:The first line gives an i…
PROGRAMMING:Split any digit integer
Programming implementation: input a non negative integer with no more than 9 bits, separate each digit, and output in th…
PROGRAMMING:Joseph problem with password
Joseph's problem with password: n people with numbers of 1, 2,..., n sit around in a clockwise direction, and each perso…
PROGRAMMING:The use of stringstream class
Use stringstream to sort integers. It is required to save the input in a stringstream object, put the 10 integers into a…
PROGRAMMING:Inserting data into an ordered list
Given a batch of integer data with strictly increasing permutation and given an X, if X does not exist, then x is insert…
PROGRAMMING:Voters vote
Program to count the votes of candidates. There are several candidates (n ˂ = 10). The name of the candidate is input fr…
PROGRAMMING:Calculate the sum of odd factorial
Programming: input a positive integer n (n ≤ 18), find out the sum of factorial of all odd numbers from 1 to n.###Input…
PROGRAMMING:Correction question 01
Please correct the following program segments with syntax errors and output the sample results as required.```public cla…
PROGRAMMING:Output non duplicate list elements
This topic requires reading in a list of arbitrary integers and outputting the non repeating elements in the list in asc…