当前位置:首页
> Luz 第2680页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:an=1/(1+a(n-1))
Calculate the nth term of the sequence.###Input format:Enter n value directly, n value is a positive integer.…
PROGRAMMING:Find the maximum and minimum of a set of numbers
Find the maximum and minimum of a set of numbers.###Input format:Enter five integers in a row, and only one space can be…
PROGRAMMING:Isomorphic number
A number just appears at the right end of its square number, which is called isomorphic number. Find out all isomorphic…
PROGRAMMING:The largest 10 primes less than m
Given an integer m (200 ˂ m ˂ 20000), find the largest 10 primes less than m.###Input format:Directly input a positive i…
PROGRAMMING:Array element concatenation
An array has 8 elements. Move the first three elements to the last three positions by string. If the initial data is:1…
PROGRAMMING:Find the maximum and submaximal of a group of numbers
Program to find out the maximum value and sub maximum value of one-dimensional array containing 10 elements.###Input for…
PROGRAMMING:Binary search method
Use dichotomy to find the key value in an ordered sequence {1,2,3,4,5,6,7,8,9,10}. If the key is found, output its corre…
PROGRAMMING:Seek 3 × The sum of the elements in the array that are greater than or equal to the average
Find a three × 4 the sum of all array elements in the array which are greater than or equal to the average value, and co…
PROGRAMMING:Top 20 items of 0,0,1 sequence
The first three numbers of a sequence are 0, 0 and 1, and each subsequent number is the sum of the first three numbers.…
PROGRAMMING:Using array to store and output Fibonacci sequence
The first 20 items of Fibonacci sequence are stored and output in array, and output in 5 rows,###Output format:Each row…