문제를 풀었습니다


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

대략 8년 전

문제를 풀었습니다


Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

대략 8년 전

문제를 풀었습니다


Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

대략 8년 전

문제를 풀었습니다


easy multipliation
return y to be equal to 2 * x

대략 8년 전

문제를 풀었습니다


Find C in a right triangle
Given a right triangle A and B. Find C is hyponutuse

대략 8년 전

문제를 풀었습니다


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number closest to 'n'. The distance between two numbers is the dis...

대략 8년 전

문제를 풀었습니다


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

대략 8년 전

문제를 풀었습니다


Find the Hypotenuse
Find the Hypotenuse of the triangle.

대략 8년 전

문제를 풀었습니다


Adding numbers
Add two numbers together

대략 8년 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

대략 8년 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

대략 8년 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

대략 8년 전

문제를 풀었습니다


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

대략 8년 전

문제를 풀었습니다


Multiply by 3 and subtract 1
As a class assignment, I'm making a Cody problem. It shouldn't be terribly difficult. Given the variable x as your input, mu...

대략 8년 전

문제를 풀었습니다


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

대략 8년 전

문제를 풀었습니다


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

대략 8년 전

문제를 풀었습니다


Breaking Bad Tiles (Spelling with Element Symbols)
Given a word, how you would spell it with element symbols from the periodic table? For instance, if given the string "Paper", yo...

대략 8년 전

문제를 풀었습니다


number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurenc...

대략 8년 전

문제를 풀었습니다


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

8년 초과 전

문제를 풀었습니다


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

8년 초과 전

문제를 풀었습니다


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

8년 초과 전

문제를 풀었습니다


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

8년 초과 전

문제를 풀었습니다


Sum of Matrix
Sum of Matrix

8년 초과 전

문제를 풀었습니다


Step up
For given input array, output a array with all elements step up by two

8년 초과 전

문제를 풀었습니다


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

8년 초과 전

문제를 풀었습니다


prime to each other
Given two integers n1, n2 greater than 1, find out if they are prime to each other.

8년 초과 전

문제를 풀었습니다


Sum of elements of array
Sum of elements of array

8년 초과 전

문제를 풀었습니다


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

8년 초과 전

문제를 풀었습니다


FInd an Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find an area of polygon enclosed by the ...

8년 초과 전

문제를 풀었습니다


sparse_matrix
You convert a vector to a sparse matrix. for example *x* =[1 2 3]; output will be *y* = [1 0 0 ...

8년 초과 전

더 보기