문제를 풀었습니다


Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and retu...

거의 10년 전

문제를 풀었습니다


Find the next square number
Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...

거의 10년 전

문제를 풀었습니다


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

거의 10년 전

문제를 풀었습니다


Low level NaN
* I have a dataset. Columns represents different variables. * A variable may start with NaN or any double type number. * If i...

거의 10년 전

문제를 풀었습니다


Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

거의 10년 전

문제를 풀었습니다


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

거의 10년 전

문제를 풀었습니다


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

거의 10년 전

문제를 풀었습니다


Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

거의 10년 전

문제를 풀었습니다


When can one be the Life Member of the IEEE?
Consult the site http://en.wikipedia.org/wiki/Ieee from where it can be seen that IEEE Members who have reached the age of 65 an...

거의 10년 전

문제를 풀었습니다


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

거의 10년 전

문제를 풀었습니다


Angle bisectors
Given 2 direction vectors, calculate the *_two_ (2) normalized angle bisectors* (which are perpendicular between them). Input...

거의 10년 전

문제를 풀었습니다


Volume of a cube
Find the volume of a cube.

거의 10년 전

문제를 풀었습니다


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...

거의 10년 전

문제


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...

거의 10년 전 | 1 | 솔버 수: 67

문제를 풀었습니다


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...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제


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

거의 10년 전 | 1 | 솔버 수: 39

문제를 풀었습니다


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...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


easy multipliation
return y to be equal to 2 * x

거의 10년 전

문제를 풀었습니다


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...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


Adding numbers
Add two numbers together

거의 10년 전

문제를 풀었습니다


Find the Hypotenuse
Find the Hypotenuse of the triangle.

거의 10년 전

문제를 풀었습니다


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...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


Multiplying Vectors
Find a way to multiply two vectors.

거의 10년 전

문제를 풀었습니다


fly fly away
A fly moves following a predefined sequence of discrete jumps (defined by the vectors _dx_ and _dy_) repeating the same sequence...

거의 10년 전

더 보기