문제를 풀었습니다


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

5년 초과 전

문제를 풀었습니다


Size

5년 초과 전

문제를 풀었습니다


Set zero

5년 초과 전

문제를 풀었습니다


Find the sines of an isosceles triangle when given its area and height
Find the sines of an isosceles triangle when given its area and height. For example, when A=60 and h=5, the result is [0.3752...

5년 초과 전

문제를 풀었습니다


area

5년 초과 전

문제를 풀었습니다


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

5년 초과 전

문제를 풀었습니다


Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

5년 초과 전

문제를 풀었습니다


Surface area of a cone

5년 초과 전

문제를 풀었습니다


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

5년 초과 전

문제를 풀었습니다


Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

5년 초과 전

문제를 풀었습니다


Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

5년 초과 전

문제를 풀었습니다


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

5년 초과 전

문제를 풀었습니다


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

5년 초과 전

문제를 풀었습니다


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

5년 초과 전

문제를 풀었습니다


ascii value
let input='a' output=97

5년 초과 전

문제를 풀었습니다


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

5년 초과 전

문제를 풀었습니다


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

5년 초과 전

문제를 풀었습니다


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

5년 초과 전

문제를 풀었습니다


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

5년 초과 전

문제를 풀었습니다


Select primes from the matrix.
Select primes from the matrix.

5년 초과 전

문제를 풀었습니다


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

5년 초과 전

문제를 풀었습니다


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

5년 초과 전

문제를 풀었습니다


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

5년 초과 전

문제를 풀었습니다


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

5년 초과 전

문제를 풀었습니다


Divide polynomial p1 by p2.
Divide polynomial p1 by p2 given as vectors. Return result q and r vectors which corresponds the quotient and remainder of divis...

5년 초과 전

문제를 풀었습니다


deconvolution
* Suppose there is a vector v like [1 0 0 -1], representing polynomial coefficients. * In this example, the polynimial is 1*x^3...

5년 초과 전

문제를 풀었습니다


Guess the Coefficients!
Given a polynomial _p_ known to have positive integer coefficients, deduce the values of the coefficients. For example: ...

5년 초과 전

문제를 풀었습니다


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

5년 초과 전

문제를 풀었습니다


Roots of quadratic equation
Given a quadratic equation ax^2 + bx + c = 0, write a function to return its roots.

5년 초과 전

더 보기