Resuelto


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

más de 3 años hace

Resuelto


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

más de 3 años hace

Resuelto


Find perfect placement of non-rotating dominoes (easier)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

más de 3 años hace

Resuelto


Summing Rows and Columns
Create a matrix y of size (n+1) whose last column's elements are the summation of the elements of all the other columns and last...

más de 3 años hace

Resuelto


Find the remainder - 01
Given an array of integers, find the remainder when the product of all the elements is divided by N

más de 3 años hace

Resuelto


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

más de 3 años hace

Resuelto


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

más de 3 años hace

Resuelto


Number Puzzles - 013

más de 3 años hace

Resuelto


Number Puzzles - 012

más de 3 años hace

Resuelto


Number Puzzles - 011

más de 3 años hace

Resuelto


Number Puzzles - 009

más de 3 años hace

Resuelto


Number Puzzles - 008

más de 3 años hace

Resuelto


Number Puzzles - 007

más de 3 años hace

Resuelto


Number Puzzles - 004
Give an example of three distinct numbers greater than 10 whose both product and sum are palindromes. The answer is not unique a...

más de 3 años hace

Resuelto


Number Puzzles - 005

más de 3 años hace

Resuelto


Round2 Three Times Fight!
Your function should round the numbers then multyply them by 2 then repeat them three times

más de 3 años hace

Resuelto


Basic Mathematics 2
If a 4’ x 8’ sheet of ½” plywood weighs W lbs and you cut an L” x L” robot base from this material, approximately how much weigh...

más de 3 años hace

Resuelto


Basic Mathematics 1
If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...

más de 3 años hace

Resuelto


Distancia Vetores
Dados dois vetores a = (x1, y1) e b = (x2, y2). Calcule a distância entre os vetores e verifique se estão perto (distancia < 10)...

más de 3 años hace

Resuelto


Conta Consoantes
Dada uma string A, retorne a quantidade de consoantes de A; ContaConsoantes('Hello World') = 7;

más de 3 años hace

Resuelto


Convert grams of Carbon to Moles
Stoichiometry...fun!

más de 3 años hace

Resuelto


Digito das Dezenas
Dado um número inteiro n, retorne qual o digito referente ao digito das dezenas n = 250; digito = DigitoDezena(n); digito = 5...

más de 3 años hace

Resuelto


Draw a triangle of ones
For any given n, return a matrix that includes a triangle of ones of height n: Example n = 3 output = [0,0,1,0,0 ...

más de 3 años hace

Resuelto


Sum of infinite series.

más de 3 años hace

Resuelto


Loja de tintas
Faça um programa para uma loja de tintas. O programa deverá receber o tamanho em metros quadrados da área a ser pintada. Conside...

más de 3 años hace

Resuelto


Matrizes Multiplicaveis
Dadas duas matrizes M1 e M2, verifique se as matrizes podem ser multiplicadas uma pela outra M1 = [1 2 3; 4 5 6] M2 = [7; 8; 9...

más de 3 años hace

Resuelto


Find the magnetic field around the wire

más de 3 años hace

Resuelto


Número Repetido
Dado um número inteiro N, verifique se o número é composto apenas do mesmo inteiro VerificaRepetido(123) = false; VerificaRepe...

más de 3 años hace

Resuelto


A KING AND 100 PRISONERS

más de 3 años hace

Cargar más