문제를 풀었습니다


Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...

13일 전

문제를 풀었습니다


divide by 5

13일 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

13일 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

13일 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

13일 전

문제를 풀었습니다


radius of a spherical planet
You just measured its surface area, that is the input.

13일 전

문제를 풀었습니다


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

13일 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

13일 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

13일 전

문제를 풀었습니다


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

13일 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

13일 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13일 전

문제를 풀었습니다


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

대략 2개월 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

대략 2개월 전

문제를 풀었습니다


The Gate of Addition
As Arjun stands at the entrance of the mysterious Lost Forest of Aryavarta, he encounters a massive ancient wooden gate covered ...

대략 2개월 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

대략 2개월 전