Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


Dice roll - lateral faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

etwa 11 Jahre vor

Gelöst


Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


increase the number by 7
You need to increase any given digit by 7

etwa 11 Jahre vor

Gelöst


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

etwa 11 Jahre vor

Problem


Bouncy numbers
Inspired by Project Euler n°112. * * Working from left-to-right if no digit is exceeded by the digit to its left it is call...

etwa 11 Jahre vor | 3 | 45 Lösungsvorschläge

Gelöst


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

etwa 11 Jahre vor

Gelöst


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

etwa 11 Jahre vor

Gelöst


How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

etwa 11 Jahre vor

Gelöst


Form Blocks in a 1D array
Lets say I have an array of size (10,1); I want to divide it into the num number of blocks which are given by user no_of_b...

etwa 11 Jahre vor

Gelöst


Mobius function
From <http://en.wikipedia.org/wiki/Möbius_function wikipedia>: For any positive integer n, define μ(n) as the sum of the prim...

etwa 11 Jahre vor

Gelöst


Sphenic number sequence
<http://oeis.org/A007304 Sphenic numbers> are positive integers that are products of three distinct prime numbers: 30, 42, 66, 7...

etwa 11 Jahre vor

Gelöst


Conversion from hours to mili sec
Convert given input in hours to mili seconds

etwa 11 Jahre vor

Gelöst


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

etwa 11 Jahre vor

Gelöst


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

etwa 11 Jahre vor

Gelöst


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

etwa 11 Jahre vor

Gelöst


calculate Simple Interest
SI=(principal*time*rate)/100

etwa 11 Jahre vor

Gelöst


Calculate SImple Interest
SI=P*T*R

etwa 11 Jahre vor

Gelöst


Find relation between x and y.
if 1 = 2 2 = 9 3 = 28 How is x related with y?

etwa 11 Jahre vor

Gelöst


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

etwa 11 Jahre vor

Gelöst


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

etwa 11 Jahre vor

Gelöst


Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

etwa 11 Jahre vor

Gelöst


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

etwa 11 Jahre vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

etwa 11 Jahre vor

Gelöst


nth Rational Number
Return the nth rational number. This is the inverse to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1471 1...

etwa 11 Jahre vor

Mehr laden