Problema


Amicable pair
Amicable numbers are two different numbers such that the sum of the proper divisors of each is equal to the other number. For...

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

Resuelto


Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

más de 6 años hace

Resuelto


Bernoulli's Triangle
Generate the bernoulli's triangle upto nth row. <https://mathworld.wolfram.com/BernoulliTriangle.html>

más de 6 años hace

Problema


Bernoulli's Triangle
Generate the bernoulli's triangle upto nth row. <https://mathworld.wolfram.com/BernoulliTriangle.html>

más de 6 años hace | 2 | 21 solvers

Resuelto


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

más de 6 años hace

Resuelto


Minimum Sum thru a Lower Triangle
This Challenge is to find the minimum cumulative sum that traverses from row-1 thru row-N via vertical/diagonal adjacent element...

más de 6 años hace

Resuelto


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

más de 6 años hace

Resuelto


Coin Distribution - 02
Prev prob <http://mathworks.com/ 45385> Given a set of coins and an amount, find out how many ways the amount can be made usi...

más de 6 años hace

Problema


Coin Distribution - 02
Prev prob <http://mathworks.com/ 45385> Given a set of coins and an amount, find out how many ways the amount can be made usi...

más de 6 años hace | 3 | 35 solvers

Resuelto


Abelian Sandpile - 02
Generate a matrix like Abelian Sandpile where the four corner element is n. For example, n=4 [4 3 2 1 ...

más de 6 años hace

Problema


Abelian Sandpile - 02
Generate a matrix like Abelian Sandpile where the four corner element is n. For example, n=4 [4 3 2 1 ...

más de 6 años hace | 0 | 21 solvers

Resuelto


Abelian Sandpile - 01
Generate a matrix like abelian sandpile where the center of the matrix is n. For example, n=3 out=[0 0 0 0 ...

más de 6 años hace

Problema


Abelian Sandpile - 01
Generate a matrix like abelian sandpile where the center of the matrix is n. For example, n=3 out=[0 0 0 0 ...

más de 6 años hace | 1 | 19 solvers

Resuelto


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

más de 6 años hace

Problema


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

más de 6 años hace | 1 | 19 solvers

Resuelto


Fault in our Stars - 02
Create a window pattern with h-horizontal bars and v-vertical bars. For example, for h=4,v=4 '**********' '* ...

más de 6 años hace

Problema


Fault in our Stars - 02
Create a window pattern with h-horizontal bars and v-vertical bars. For example, for h=4,v=4 '**********' '* ...

más de 6 años hace | 2 | 15 solvers

Resuelto


all possible subsets of set
Given a vector, return all possible subsets of the vector in a cell array. Properties of basic set theory is assumed to be valid...

más de 6 años hace

Resuelto


Sieve of Eratosthenes
Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

más de 6 años hace

Resuelto


Don't be Greedy!
A list of assignments is given to the students along with the submission deadlines. Each of the assignment contains particular...

más de 6 años hace

Problema


Don't be Greedy!
A list of assignments is given to the students along with the submission deadlines. Each of the assignment contains particular...

más de 6 años hace | 2 | 22 solvers

Resuelto


Poker Series 02: isQuads
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

más de 6 años hace

Resuelto


Poker Series 01: isStraightFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

más de 6 años hace

Resuelto


Poker Series 09: IsHighCard
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

más de 6 años hace

Resuelto


Poker Series 08: IsPair
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

más de 6 años hace

Resuelto


Poker Series 07: IsTwoPair
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

más de 6 años hace

Resuelto


ZigZag - 04
Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...

más de 6 años hace

Resuelto


dễ dàng
cho 2 số. tính tích của chúng

más de 6 años hace

Resuelto


Ulam spiral 2: The revenge
Starting from the problem <https://www.mathworks.com/matlabcentral/cody/problems/2644-the-ulam-matrix>, transform the Ulam Matri...

más de 6 años hace

Resuelto


Look and say Conway's sequence
In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

más de 6 años hace

Cargar más