Community Profile

# Mario Rossi

32 total contributions since 2016

View details...

Contributions in
View by

Solved

Pushing the envelope
Find the largest sized code to return... *nothing*.

fast 4 Jahre ago

Solved

Strangest ways to get 0
Propose your non-trivial way to get 0. Look mine's, and try to do your best!

fast 4 Jahre ago

Solved

A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

fast 4 Jahre ago

Solved

Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

fast 4 Jahre ago

Solved

Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

fast 4 Jahre ago

Solved

Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

fast 4 Jahre ago

Solved

Non trivial identities - colon
Return x after treating it with colon.

fast 4 Jahre ago

Solved

Non trivial identities - identity handle
Return x by handling the identity function.

fast 4 Jahre ago

Solved

Non trivial identities - linear system
Return x by solving a linear system.

fast 4 Jahre ago

Solved

Non trivial identities - roots
Return x after rooting it.

fast 4 Jahre ago

Solved

Non trivial identities - power
Return x by by rising it to a power.

fast 4 Jahre ago

Solved

Non trivial identities - double negative
Return x after negating it.

fast 4 Jahre ago

Solved

Non trivial identities - polynomial
Return x as a polynomial of itself.

fast 4 Jahre ago

Solved

Non trivial identities - absolute value
Return x by computing its absolute value.

fast 4 Jahre ago

Solved

Non trivial identities - multiplication
Return x after multipying it.

fast 4 Jahre ago

Solved

Non trivial identities - division
Return x after dividing it.

fast 4 Jahre ago

Solved

Non trivial identities - replication
Return x by replicating itself in any dimension.

fast 4 Jahre ago

Solved

Non trivial identities - open your eyes
Return x by using your eyes.

fast 4 Jahre ago

Solved

Non trivial identities - complexification
Return x by complexifying it.

fast 4 Jahre ago

Solved

Non trivial identities - differentiation
Return x by differentiating it.

fast 4 Jahre ago

Solved

Non trivial identities - reshape
Return x by reshaping it.

fast 4 Jahre ago

Solved

Non trivial identities - flipping
Return x by flipping it.

fast 4 Jahre ago

Solved

Non trivial identities - transpose
Return x by transposing it.

fast 4 Jahre ago

Solved

Non trivial identities - multiplication
Return x by multiplying it with a random number.

fast 4 Jahre ago

Solved

Non trivial identities - round
Return x after rounding it.

fast 4 Jahre ago

Solved

Non trivial identities - summation
Return x by adding a random number to it.

fast 4 Jahre ago

Solved

Geometrical meaning of determinant
Given two vectors x,y, in 2D or three vectors x,y,z in 3D space, compute the area (or volume) of the parallelogram they define. ...

fast 4 Jahre ago

Solved

Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

fast 4 Jahre ago

Solved

Area of polygon
Given the vertices in vectors X,Y, return the area of the polygon they define.

fast 4 Jahre ago

Solved

Remove collinear points in a set of 2D points defining a polygon
Consider a polygon that is obtained by joining a set of 2D points whose coordinates are stored in matrix P=[x,y]. Write a functi...

fast 4 Jahre ago