Resuelto


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

alrededor de 10 años hace

Resuelto


Spherical Volume
Calculate the volume of a sphere.

alrededor de 10 años hace

Resuelto


Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

alrededor de 10 años hace

Resuelto


Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

alrededor de 10 años hace

Resuelto


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

alrededor de 10 años hace

Resuelto


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


Multiplying Vectors
Find a way to multiply two vectors.

más de 10 años hace

Resuelto


Volume of a cylinder
Find Volume of cylinder with the given radius and height.

más de 10 años hace

Resuelto


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

más de 10 años hace

Problema


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

más de 10 años hace | 2 | 43 solvers

Resuelto


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

más de 10 años hace

Resuelto


Combine Cards to make 21
Given between two and six cards, e.g. A _ 3 _ 7 _ 6 _ 2 place one of the mathematical symbols (+,-,*,/) in the space betw...

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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)

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


Bulls Eye Matrix
Bulls Eye Matrix

más de 10 años hace

Resuelto


Sum of elements of array
Sum of elements of array

más de 10 años hace

Cargar más