Gelöst


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

mehr als 10 Jahre vor

Gelöst


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

mehr als 10 Jahre vor

Gelöst


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

mehr als 10 Jahre vor

Gelöst


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

mehr als 10 Jahre vor

Gelöst


Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

mehr als 10 Jahre vor

Gelöst


easy multipliation
return y to be equal to 2 * x

mehr als 10 Jahre vor

Gelöst


Find C in a right triangle
Given a right triangle A and B. Find C is hyponutuse

mehr als 10 Jahre vor

Gelöst


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number closest to 'n'. The distance between two numbers is the dis...

mehr als 10 Jahre vor

Gelöst


Minimum Set (A+A)U(A*A) OEIS A263996
This Challenge is to find an integer vector A that creates the minimum set size for (A+A) U (A*A) for a given vector length, <ht...

mehr als 10 Jahre vor

Problem


Minimum Set (A+A)U(A*A) OEIS A263996
This Challenge is to find an integer vector A that creates the minimum set size for (A+A) U (A*A) for a given vector length, <ht...

mehr als 10 Jahre vor | 0 | 3 Lösungsvorschläge

Gelöst


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

mehr als 10 Jahre vor

Gelöst


Adding numbers
Add two numbers together

mehr als 10 Jahre vor

Gelöst


Find the Hypotenuse
Find the Hypotenuse of the triangle.

mehr als 10 Jahre vor

Gelöst


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

mehr als 10 Jahre vor

Problem


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

mehr als 10 Jahre vor | 1 | 99 Lösungsvorschläge

Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

etwa 11 Jahre vor

Gelöst


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

etwa 11 Jahre vor

Gelöst


factorial of a number x
Factorial of a number x

etwa 11 Jahre vor

Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

etwa 11 Jahre vor

Gelöst


GJam 2015 Rd1B: Counter Culture
This Challenge is derived from <https://code.google.com/codejam/contest/8224486/dashboard#s=p0 GJam 2015 Rd 1B: Counter Culture>...

etwa 11 Jahre vor

Problem


GJam 2015 Rd1B: Counter Culture
This Challenge is derived from <https://code.google.com/codejam/contest/8224486/dashboard#s=p0 GJam 2015 Rd 1B: Counter Culture>...

etwa 11 Jahre vor | 0 | 12 Lösungsvorschläge

Gelöst


GJam 2015 Rd1B: Noisy Neighbors
This Challenge is derived from <https://code.google.com/codejam/contest/8224486/dashboard#s=p1 GJam 2015 Rd 1B: Noisy Neighbors>...

etwa 11 Jahre vor

Problem


GJam 2015 Rd1B: Noisy Neighbors
This Challenge is derived from <https://code.google.com/codejam/contest/8224486/dashboard#s=p1 GJam 2015 Rd 1B: Noisy Neighbors>...

etwa 11 Jahre vor | 0 | 11 Lösungsvorschläge

Gelöst


Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

etwa 12 Jahre vor

Problem


GJam 2014 Rd 1c: Reordering Train Cars (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/3004486/dashboard#s=p1 GJam 2014 Rd 1c: Reordering Train ...

etwa 12 Jahre vor | 1 | 3 Lösungsvorschläge

Problem


GJam 2014 Rd 1c: Train Cars
This Challenge is derived from <http://code.google.com/codejam/contest/3004486/dashboard#s=p1 GJam 2014 Rd 1c: Reordering Train ...

etwa 12 Jahre vor | 1 | 9 Lösungsvorschläge

Gelöst


Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

etwa 12 Jahre vor

Gelöst


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

etwa 12 Jahre vor

Problem


GJam 2014 Qualifier: Deceitful War (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/2974486/dashboard#s=p3 GJam 2014 Qualifier Deceitful War>...

etwa 12 Jahre vor | 0 | 9 Lösungsvorschläge

Gelöst


GJam 2014 Qualifier: Deceitful War (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/2974486/dashboard#s=p3 GJam 2014 Qualifier Deceitful War>...

etwa 12 Jahre vor

Mehr laden