Resuelto


Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.

10 meses hace

Resuelto


Division
Divide a by b.

10 meses hace

Resuelto


Subtraction
Subtract a from b.

10 meses hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

10 meses hace

Resuelto


Squares
Find the square of x.

10 meses hace

Resuelto


Multiplication
Multiply a and b.

10 meses hace

Resuelto


Addition
Add together the values of a and b.

10 meses hace

Resuelto


Exponents
Set a varible y = to x^2

10 meses hace

Resuelto


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

10 meses hace

Problema


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

10 meses hace | 0 | 261 solvers

Resuelto


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

10 meses hace

Problema


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

10 meses hace | 3 | 423 solvers

Resuelto


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

10 meses hace

Problema


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

10 meses hace | 3 | 440 solvers

Resuelto


Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In t...

10 meses hace

Problema


Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In t...

10 meses hace | 1 | 250 solvers

Resuelto


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

10 meses hace

Problema


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

10 meses hace | 0 | 310 solvers

Resuelto


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

10 meses hace

Problema


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

10 meses hace | 1 | 265 solvers

Resuelto


A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.

10 meses hace

Problema


A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.

10 meses hace | 1 | 325 solvers

Resuelto


Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).

10 meses hace

Problema


Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).

10 meses hace | 0 | 377 solvers

Resuelto


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

10 meses hace

Problema


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

10 meses hace | 1 | 400 solvers

Resuelto


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

10 meses hace

Problema


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

10 meses hace | 2 | 346 solvers

Resuelto


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

10 meses hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10 meses hace

Cargar más