Risolto


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

circa un anno fa

Risolto


num10
123456

circa un anno fa

Risolto


num9
num

circa un anno fa

Risolto


num8
num

circa un anno fa

Risolto


num7
num

circa un anno fa

Risolto


num6
num

circa un anno fa

Risolto


num5
num

circa un anno fa

Risolto


num4
nmjhg

circa un anno fa

Risolto


num3
nam

circa un anno fa

Risolto


nam2
nam

circa un anno fa

Risolto


wordle
create a dictionary and a playable game of wordle, figure out the solution.

circa un anno fa

Risolto


num
num

circa un anno fa

Risolto


round pi
round pi

circa un anno fa

Risolto


add num
add two numbers a and b

circa un anno fa

Risolto


num to char
make num into char

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Multiplication
Given 2 numbers a and b mulitply them

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Given length x find the area y of the square
Given length x find the area y of the square

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...

circa un anno fa

Problema


Frequencies of prime gaps
Given two positive integers n and , write a function which computes the frequency of the gap between two consecutive of the pr...

circa un anno fa | 3 | 29 risolutori

Risolto


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

circa un anno fa

Risolto


List prime anagrams of a number

circa un anno fa

Domanda


Recurrent server error message while submitting solution for a given problem in Cody
Hi, I wrote a solution to problem #45964 : compute the nth Pythagorean prime. When I test it in the scratch pad, all the t...

circa un anno fa | 1 risposta | 0

1

risposta

Risolto


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

circa un anno fa

Risolto


Amicable numbers
Test whether two numbers are <https://en.wikipedia.org/wiki/Amicable_numbers amicable>, meaning that the sum of the proper divis...

circa un anno fa

Risolto


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

circa un anno fa

Risolto


List the emirps
An emirp is a prime number that becomes a different prime when reversed. The numbers 13, 17, and 149 are emirps, but 11, 19, and...

circa un anno fa

Carica altro