当前位置:首页
> Luz 第2826页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Calculating the value of a polynomial
###Task descriptionFor the polynomial f (x) = ax ^ 3 + BX ^ 2 + CX + D $$and given a, B, C, D, x, calculate the value of…
PROGRAMMING:Reverse output a three digit number
###Task descriptionReverse output a three bit non negative integer.###Input format:A three digit n. if the integer is le…
PROGRAMMING:Computes the remainder of a floating-point division
###Task descriptionCalculate the remainder of the division of two double precision floating-point numbers a and B. A and…
PROGRAMMING:The surface area and volume of the ball
###Task descriptionFor the sphere with radius r, the surface area formula is s = 4 π R ^ 2, v = (4 / 3) π R ^ 3 here π…
PROGRAMMING:Calculation of the last term of arithmetic sequence
###Task descriptionGiven the first two terms A1, A2 of an arithmetic sequence, find the number of the nth term.###Input…
PROGRAMMING:Calculates the floating point value of a fraction
###Task descriptionTwo integers a and B are used as numerator and denominator respectively, i.e. fraction A / B, to find…
PROGRAMMING:Apples and insects
###Task descriptionYou bought a box of N apples. Unfortunately, when you finished, there was a bug in the box. The insec…
PROGRAMMING:Third order determinant
###Task descriptionRead in a third-order determinant and output the value of the determinant.###Input format:There are t…
PROGRAMMING:Yu Long's report card
###Task descriptionYu Long's transcript used to be his pride. This time he did well in the exam. He wanted to print a ne…
PROGRAMMING:Date formatting
###Task descriptionDifferent countries in the world have different habits of writing dates. For example, Americans are u…