A résolu


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

environ 11 ans il y a

A résolu


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...

environ 11 ans il y a

A résolu


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

environ 11 ans il y a

A résolu


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...

environ 11 ans il y a

A résolu


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...

environ 11 ans il y a

A résolu


Kaggle: Reverse Game of Life - Single Move to One Cell Case
<http://www.kaggle.com/c/conway-s-reverse-game-of-life Kaggle's Conway's Reverse Game of Life> contest inspires this Single Reve...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. ...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Append two vectors
MATLAB allows you to append vectors together to create new vectors.

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Calculate SImple Interest
SI=P*T*R

environ 11 ans il y a

A résolu


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...

environ 11 ans il y a

A résolu


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 ...

environ 11 ans il y a

A résolu


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...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


longest common semi-substring
Finding longest common substring is a common problem in string processing. This problem is a variant of that. Two strings are...

environ 11 ans il y a

A résolu


Minimum Distance between two N-sided Polygons
This Challenge is to determine the minimum distance between two non-overlapping polygons. The input is a cell array of two vecto...

environ 11 ans il y a

A résolu


Pandigital number n°3 (Inspired by Project Euler 32)
After Problem 2319 and 2320. An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For examp...

environ 11 ans il y a

A résolu


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

environ 11 ans il y a

A résolu


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

environ 11 ans il y a

A résolu


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)

environ 11 ans il y a

A résolu


The 17x17 Problem
This problem is sometimes referred to as the <http://bit-player.org/2009/the-17x17-challenge 17x17 challenge>. See also <http://...

environ 11 ans il y a

A résolu


Convert Decimal Number to Hex number (including non integer value)
Convert Decimal Number to Hex number (including non integer value) E.X. (2598.675) in decimal = A26.ACCC in hexa

environ 11 ans il y a

A résolu


Times 2
Times 2

environ 11 ans il y a

A résolu


Dilate a 3d object sampled on a regular grid
3d objects can be described by a set of points on a regular grid in Euclidean space. Given the n x 3 matrix m defining some numb...

environ 11 ans il y a

A résolu


GJam 2014 China Rd A: Rational Number Tree (Large Values)
This Challenge is derived from <http://code.google.com/codejam/contest/2924486/dashboard#s=p1 GJam 2014 China Rational Number Tr...

environ 11 ans il y a

Charger plus