A résolu


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

presque 4 ans il y a

A résolu


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

presque 4 ans il y a

A résolu


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

presque 4 ans il y a

A résolu


Find Logic 9

presque 4 ans il y a

A résolu


Find Logic 7

presque 4 ans il y a

A résolu


Find Logic 8

presque 4 ans il y a

A résolu


Find Logic 6

presque 4 ans il y a

A résolu


Find Logic 4

presque 4 ans il y a

A résolu


Find Logic 3

presque 4 ans il y a

A résolu


Find Logic 1

presque 4 ans il y a

A résolu


Find Logic 10

presque 4 ans il y a

A résolu


Find Logic 11

presque 4 ans il y a

A résolu


Find Logic 12

presque 4 ans il y a

A résolu


Find Logic 13

presque 4 ans il y a

A résolu


Find Logic 15

presque 4 ans il y a

A résolu


Find Logic 14

presque 4 ans il y a

A résolu


Find Logic 16

presque 4 ans il y a

A résolu


Find Logic 17

presque 4 ans il y a

A résolu


Find Logic 18

presque 4 ans il y a

A résolu


Find Logic 19

presque 4 ans il y a

A résolu


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

presque 4 ans il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

presque 4 ans il y a

A résolu


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

presque 4 ans il y a

A résolu


Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...

presque 4 ans il y a

A résolu


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

presque 4 ans il y a

A résolu


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

presque 4 ans il y a

A résolu


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

presque 4 ans il y a

A résolu


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

presque 4 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

presque 4 ans il y a

A résolu


step function

presque 4 ans il y a

Charger plus