Community Profile

photo

Mario Rossi


Attivo dal 2016

Statistiche

  • First Review
  • Solver

Visualizza badge

Content Feed

Visto da

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Non trivial identities - roots
Return x after rooting it.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Non trivial identities - multiplication
Return x after multipying it.

oltre 7 anni fa

Risolto


Non trivial identities - division
Return x after dividing it.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Non trivial identities - complexification
Return x by complexifying it.

oltre 7 anni fa

Risolto


Non trivial identities - differentiation
Return x by differentiating it.

oltre 7 anni fa

Risolto


Non trivial identities - reshape
Return x by reshaping it.

oltre 7 anni fa

Risolto


Non trivial identities - flipping
Return x by flipping it.

oltre 7 anni fa

Risolto


Non trivial identities - transpose
Return x by transposing it.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Non trivial identities - round
Return x after rounding it.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Carica altro