A résolu


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

presque 4 ans il y a

A résolu


Path of least resistance
Find the length of the shortest path through the matrix from the top left to bottom right corner. You may move right, down, or d...

presque 4 ans il y a

A résolu


Prime Sum
What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

presque 4 ans il y a

A résolu


Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

presque 4 ans il y a

A résolu


Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

presque 4 ans il y a

A résolu


Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

presque 4 ans il y a

A résolu


Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

presque 4 ans il y a

A résolu


4xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

presque 4 ans il y a

A résolu


3xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

presque 4 ans il y a

A résolu


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

presque 4 ans il y a

A résolu


Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

presque 4 ans il y a

A résolu


Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

presque 4 ans il y a

A résolu


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

presque 4 ans il y a

A résolu


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

presque 4 ans il y a

A résolu


Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...

presque 4 ans il y a

A résolu


Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...

presque 4 ans il y a

A résolu


Design a minimum-cost cable network for a power grid
You are given the 2-D point locations ( _xi_ , _yi_ ) of *N* _components_ of a power grid. These _components_ include power sour...

presque 4 ans il y a

A résolu


Count the number of reaction chains achievable in T mins
This problem is related to Problem <45467>. Let's denote a list of *N* compounds as 1, 2, ..., *N*. You are then given a list...

presque 4 ans il y a

A résolu


Propagate the effects of a blockage in a chemical plant
From the perspective of flow, a chemical plant can be described by a collection of _nodes_ and _edges_. _Nodes_ are points where...

presque 4 ans il y a

A résolu


Pitting corrosion on a metal plate: Find the largest pit
You are given an N x M matrix of _ones_ and _zeros_, which represents an image of a rectangular metal plate taken from the hull ...

presque 4 ans il y a

A résolu


Pitting corrosion on a metal plate: Count the number of pits
You are given an N x M matrix of _ones_ and _zeros_, which represents an image of a rectangular metal plate taken from the hull ...

presque 4 ans il y a

A résolu


Equilateral Triangle
The length of one side of the equilateral triangle is a. Calculate the area of ​​the equilateral triangle.

presque 4 ans il y a

A résolu


Momentum of an Object
P is momentum, m is mass, and v is velocity. Calculate the momentum for an object.

presque 4 ans il y a

A résolu


Speed
x is distance, v is speed, and t is time. Calculate the speed for an object.

presque 4 ans il y a

A résolu


Newton's Motion Law
F is force, m is mass, and a is acceleration. Calculate the force for an object.

presque 4 ans il y a

A résolu


List the households affected by leaks in water distribution
Consider the following water distribution network, where water is pumped uni-directionally from left to right: 8...

presque 4 ans il y a

A résolu


AK Sorting according to given order
Generally we sort the sequence in ascending or descending order considering 0,1,2,...9 and so on , is the correct ascending orde...

presque 4 ans il y a

A résolu


Matrix problem for beginners
Make a matrix [0,0,0;1,1,1;2,2,2]. X=[0,1,2]

presque 4 ans il y a

A résolu


Matrix for beginners
Multiply x and y elemwise.

presque 4 ans il y a

A résolu


Prime Ladders
A <http://en.wikipedia.org/wiki/Word_ladder word ladder> transforms one word to another by means of single-letter mutations. So ...

presque 4 ans il y a

Charger plus