当前位置:首页
> Luz 第2673页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Judge positive and negative numbers
Input an integer x, if x ˃ 0, then y = 1, otherwise y = - 1, finally output the value of Y.###Input format:Input 1 integ…
PROGRAMMING:Please n!
Ask n!, The results of N and operation are integers, n ˂ 10.###Input format:Enter an n value directly without any additi…
PROGRAMMING:Pass the test
Input the score value x ∈ [0100], if x ≥ 60, output pass, otherwise output fail.###Input format:Directly input an intege…
PROGRAMMING:Find the sum of factorials from 1 to 6
Find the sum of the factorials from 1 to 6.###Output format:Output in the order of "Jiecheng = result" in one line. The…
PROGRAMMING:Each digit of reverse order output number
Input a positive integer from the keyboard and output the digits in reverse order.For example: input 123, output 321.###…
PROGRAMMING:Sum of numbers divisible by 3
Output the sum of all numbers divisible by 3 between [1100].###Output format:Directly output the result of integer opera…
PROGRAMMING:Average of 10 integers
Input 10 integers from the keyboard to get the average value.Input format:Enter 10 integers separated by spaces on one l…
PROGRAMMING:The maximum number of 10
Input 10 integers from the keyboard to find the maximum value.###Input format:Enter 10 integers separated by spaces on o…
PROGRAMMING:Odd number in 10
Input 10 integers from the keyboard and count the odd number.###Input format:Enter 10 integers separated by spaces on on…
PROGRAMMING:Find the sum of 1 + 1 / 2 + 1 / 3 + 1 / 4 + 1 / 5
Find the sum of 1 + 1 / 2 + 1 / 3 + 1 / 4 + 1 / 5.###Output format:Direct output of real operation results, requires 6 d…