A résolu


Juros Simples
Faça uma função que calcule o montagem de um investimento com juros simples que receba como argumentos o capital inicial C, a ta...

plus d'un an il y a

A résolu


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

plus d'un an il y a

A résolu


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

plus d'un an il y a

A résolu


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

plus d'un an il y a

Problème


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

plus d'un an il y a | 0 | 4 solveurs

A résolu


Subtraction
Given two numbers a and b subtract them

plus d'un an il y a

A résolu


Multiplication
Given 2 numbers a and b mulitply them

plus d'un an il y a

A résolu


Division
Given two numbers a and b divide them a/b

plus d'un an il y a

A résolu


Remainder
Given two number a and b find the remainder when you divide a by b

plus d'un an il y a

A résolu


Find the mean
Find the mean of a given sdet of numbers in a vector x

plus d'un an il y a

A résolu


Mode
Find the mode of a vector x

plus d'un an il y a

A résolu


sum numbers to some value n
sum of numbers up to a value n

plus d'un an il y a

A résolu


add num
add two numbers a and b

plus d'un an il y a

A résolu


minecraft movie scramble
the following phrase "la la la lava ch ch ch chicken" will be out of order. make it into the correct order

plus d'un an il y a

A résolu


num to char
make num into char

plus d'un an il y a

A résolu


Maze Solver with Backtracking and Custom Cost Rules
Write a function solve_maze that finds a path from the top-left corner (1,1) to the bottom-right corner (m,n) of a 2D matrix M, ...

plus d'un an il y a

A résolu


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

plus d'un an il y a

A résolu


Add two numbers
Given two numbers a and b add them together

plus d'un an il y a

A résolu


Prime Number
Determine if a number is prime

plus d'un an il y a

A résolu


x = 1

plus d'un an il y a

A résolu


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

plus d'un an il y a

A résolu


Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...

plus d'un an il y a

A résolu


Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...

plus d'un an il y a

A résolu


Matrix Diagonal Sum
Given a square matrix A of size n x n, write a function to compute the sum of the elements on both the main diagonal and the ant...

plus d'un an il y a

Problème


Find the closest e-abundant numbers
An abundant number is an integer whose sum of its positive proper divisors—or the sum of its divisors excluding itself—exceeds ...

plus d'un an il y a | 0 | 7 solveurs

A résolu


Create a fibonacci series

plus d'un an il y a

Problème


List e-perfect numbers
A perfect number is an integer that equals the sum of its positive proper divisors—or the sum of its divisors excluding itself. ...

plus d'un an il y a | 0 | 5 solveurs

Problème


Sum powers of e-divisors
In number theory the function produces the sum of divisors of an integer raised to the power . Setting sums the divisors, as ...

plus d'un an il y a | 0 | 7 solveurs

Problème


Count the e-divisors of an integer
Cody Problem 2664 asks us to count the divisors of an integer, and Cody Problem 60843 involves listing the e-divisors of an inte...

plus d'un an il y a | 0 | 8 solveurs

A résolu


Test x = 1
Write a function to make the variable x = 1

plus d'un an il y a

Charger plus