A résolu


Draw a '9' in a zero matrix!

environ un an il y a

A résolu


Draw a '6' in a zero matrix!

environ un an il y a

A résolu


Draw a '5' in a zero matrix!

environ un an il y a

A résolu


Draw a '4' in a zero matrix!

environ un an il y a

A résolu


Draw a '3' in a zero matrix!

environ un an il y a

A résolu


Draw a '2' in a zero matrix!

environ un an il y a

A résolu


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

environ un an il y a

A résolu


Find Logic 10

environ un an il y a

A résolu


Find Logic 8

environ un an il y a

A résolu


Find Logic 7

environ un an il y a

A résolu


Find Logic 6

environ un an il y a

A résolu


Find Logic 4

environ un an il y a

A résolu


Find Logic 3

environ un an il y a

A résolu


Find Logic 1

environ un an il y a

A résolu


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

environ un an il y a

A résolu


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

environ un an il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

environ un an il y a

A résolu


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

environ un an il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

environ un an il y a

A résolu


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

environ un an il y a

A résolu


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

environ un an il y a

A résolu


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

environ un an il y a

A résolu


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

environ un an il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

environ un an il y a

A résolu


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

environ un an il y a

A résolu


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

environ un an il y a

A résolu


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

environ un an il y a

A résolu


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

environ un an il y a

A résolu


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

environ un an il y a

A résolu


Remove Lower Case Letters
Example MEMOry --> MEMO IMPlEMeNtATiON --> IMPEMNATON

environ un an il y a

Charger plus