Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 013

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 012

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 011

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 009

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 008

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 007

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Number Puzzles - 005

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Sum of infinite series.

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Find the magnetic field around the wire

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


A KING AND 100 PRISONERS

mehr als 3 Jahre vor

Mehr laden