Community Profile

photo

Mario Rossi


Con actividad desde 2016

Estadísticas

  • First Review
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Non trivial identities - roots
Return x after rooting it.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Non trivial identities - multiplication
Return x after multipying it.

más de 7 años hace

Resuelto


Non trivial identities - division
Return x after dividing it.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Non trivial identities - complexification
Return x by complexifying it.

más de 7 años hace

Resuelto


Non trivial identities - differentiation
Return x by differentiating it.

más de 7 años hace

Resuelto


Non trivial identities - reshape
Return x by reshaping it.

más de 7 años hace

Resuelto


Non trivial identities - flipping
Return x by flipping it.

más de 7 años hace

Resuelto


Non trivial identities - transpose
Return x by transposing it.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Non trivial identities - round
Return x after rounding it.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Cargar más