Solved


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

11 months ago

Solved


num10
123456

11 months ago

Solved


num9
num

11 months ago

Solved


num8
num

11 months ago

Solved


num7
num

11 months ago

Solved


num6
num

11 months ago

Solved


num5
num

11 months ago

Solved


num4
nmjhg

11 months ago

Solved


num3
nam

11 months ago

Solved


nam2
nam

11 months ago

Solved


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

11 months ago

Solved


num
num

11 months ago

Solved


round pi
round pi

11 months ago

Solved


add num
add two numbers a and b

11 months ago

Solved


num to char
make num into char

11 months ago

Solved


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

11 months ago

Solved


Multiplication
Given 2 numbers a and b mulitply them

11 months ago

Solved


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

11 months ago

Solved


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

11 months ago

Solved


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

11 months ago

Solved


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

11 months ago

Problem


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

11 months ago | 3 | 27 solvers

Solved


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

11 months ago

Solved


List prime anagrams of a number

11 months ago

Question


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

11 months ago | 1 answer | 0

1

answer

Solved


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

11 months ago

Solved


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

11 months ago

Solved


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

11 months ago

Solved


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

11 months ago

Load more