Solved


add 6 to x
add 6 to x

4 månader ago

Solved


add 0 to x
add 0 to x

4 månader ago

Solved


add 1 to x
add 1 to x

4 månader ago

Solved


add 7 to x
add 7 to x

4 månader ago

Solved


add 8 to x
add 8 to x

4 månader ago

Solved


add 9 to x
add 9 to x

4 månader ago

Solved


add 10 to x
add 10 to x

4 månader ago

Solved


add 11 to x
add 11 to x

4 månader ago

Solved


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

4 månader ago

Solved


add 4 to x
add 4 to x

4 månader ago

Solved


add three to x
add three to x

4 månader ago

Solved


Add two to x
Add two to x

4 månader ago

Solved


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

4 månader ago

Solved


dfgd
sfgdf

4 månader ago

Solved


Compute the total length of lines between all vertices of a regular polygon
Write a function to compute the total length of between all vertices of a regular polygon inscribed in a unit circle. For exampl...

4 månader ago

Solved


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

4 månader ago

Solved


Construct numbers from antidiagonals of stacks of binary numbers
A sequence is constructed in the following way: Express the numbers 1, 2, 3, 4, 5,… in binary and stack them, right-justified. T...

4 månader ago

Solved


Roman to Integer Conversion
The idea behind this cody problem is to write a code that converts the Roman Numerals to Integers. A numeral system known as R...

4 månader ago

Solved


Determine whether a number is a repfigit number
The number 28 is a repfigit number because it has more than one digit and it appears in the sequence starting with its digits an...

4 månader ago

Solved


List lunar triangular numbers without duplication
Triangular numbers—which are the subject of Cody Problems 5, 291, 44289, 44732, 45833, 55680, 55695, and 55705—are the sums of c...

4 månader ago

Solved


Primitive Root Modulo n
Given a positive integer n > 2, return a vector, v, of positive integers smaller than n that are primitive roots modulo n. If no...

4 månader ago

Solved


ベクトルを作成する
0 から n までのベクトルを 2 間隔で作成します。

4 månader ago

Solved


Logistic map
The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns each x_n into a polynomial of r. Write a fu...

4 månader ago

Solved


Bullseye Matrix with Zeros
Inspired by Problem 18, create a bullseye matrix with the addition of padding equal to 0 between concentric rings. Matrices are ...

4 månader ago

Solved


Parametric Array
Create a row vector, 1xN (Integer, >1), such that the mean of the vector is M (Real number) and the standard deviation of the ...

4 månader ago

Solved


Rotation matrix of a sequence of 3D points
Given a sequence of rotation matrices Rotation_Matrix [3x3xN], and a sequence of 3D points [3x1xN], compute the [3xN] sequence i...

4 månader ago

Solved


ICFP 2023: Orchestra, Place Band members to maximize Audience net Happiness
The ICFP 2023 Competition in July was to place musicians on a stage to maximize the attendees net happiness. The musicians playe...

4 månader ago

Solved


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

4 månader ago

Solved


Sum of squares
Given a number n, return the sum of squares of all integers from 1 to n.

4 månader ago

Load more