当前位置:首页
> Luz 第2601页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:maximum of array
Input 10 integers and output the maximum### Input:10 integers seperated by space.### Output:One integer which is the max…
PROGRAMMING:Find the most frequent character in a string
Find the most frequent character in a string.###Input format:Given a string, the length of the string is not greater tha…
PROGRAMMING:+-*/
Write a program to realize the basic arithmetic operation. Input two numbers and an operator(‘+’, ‘-’ , ‘*’, ‘/’), calcu…
PROGRAMMING:Sum of continuous prime numbers
Some positive integers can be decomposed into the sum of one or more consecutive primes. Given a positive integer, how m…
PROGRAMMING:Sum of numbers (Cixi, 2006)
Give you an integer n (n < = 2000000000), and find the sum of all the numbers of this number.###Input format:The input h…
PROGRAMMING:sort
Today, Xiao Lin encountered a problem. He needs to sort n groups of data, which is stored in a linked list. Now Kobayash…
PROGRAMMING:average life span
Fill in the blanks. According to the requirements of the title, improve the following code. Please submit the complete c…
PROGRAMMING:mm-dd-yyyy to yyyy-mm-dd
American usually use day-month-year, but Chinese often use year-month-day. Please write a program to transfer the date f…
PROGRAMMING:pi
Calculate the approximate value of π using the following formula, until the last item ˂10-6pi/4 ~= 1- 1/3 + 1/5 -1/7 +…
PROGRAMMING:Implementing KMP with JMU DS
Give two strings a and B, and find out the position where B first appears from a.###Input format:Enter an integer n in t…