当前位置:首页
> Luz 第2843页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Check whether an integer is odd or even
Input an integer from keyboard, check whether the integer is odd or even. ### Input Specification:Input one integer.###…
PROGRAMMING:Arithmetic operation
Write a program to realize the basic arithmetic operation. Input two numbers and an operator(‘+’, ‘-’ , ‘’, ‘/’), calcul…
PROGRAMMING:Judge whether an integer is a positive integer, a negative integer or zero
Enter an integer to determine whether it is a positive integer, a negative integer or zero.###Input format:Enter an inte…
PROGRAMMING:Date identification 3
###Task description```Unfortunately, Yu Long always has a problem with dates recently, because he is faced with a lot of…
PROGRAMMING:S = 1 + 2 + 3 +... + n until s > = m
S = 1 + 2 + 3 +... + N, when s just exceeds a certain number, stop the operation. Finding the value of N and S###Input f…
PROGRAMMING:Judge the completion
Judge whether a positive integer is complete. Definition of completion: the sum of all factors (including 1) of a number…
PROGRAMMING:Smart Gauss (*)
When Gauss, a famous German mathematician, was in primary school, his teacher asked us to calculate:$$1 + 2 + 3 + 4 + \c…
PROGRAMMING:Counts the number of characters specified in the string
Enter a string and a character to count the number of times the character appears in the string###Input format:Enter 2 l…
PROGRAMMING:ICPC 2019 Yinchun f self test
This is a programming problem template. Please write the title description here. For example: this topic requires readin…
PROGRAMMING:Operation of heap
Write code to realize the operation of Min heap.###Input format:The first line is two positive integers' n 'and' k 'no l…