
Largest Submatrix 3
You are given matrix a of size n × m, its elements are integers. We will assume that the rows of the matrix are numbered from top to bottom from […]
You are given matrix a of size n × m, its elements are integers. We will assume that the rows of the matrix are numbered from top to bottom from […]
Two teams meet in The Game World Championship. Some scientists consider this game to be the most intellectually challenging game in the world. You are […]
Salve, mi amice. Et tu quidem de lapis philosophorum. Barba non facit philosophum. Labor omnia vincit. Non potest creatio ex nihilo. Necesse est partibus. Rp: […]
A + B is often used as an example of the easiest problem possible to show some contest platform. However, some scientists have observed that […]
A boy named Gena really wants to get to the “Russian Code Cup” finals, or at least get a t-shirt. But the offered problems are […]
While resting on the ship after the “Russian Code Cup” a boy named Misha invented an interesting game. He promised to give his quadrocopter to […]
The Finals of the “Russian Code Cup” 2214 will be held in n hotels. Two hotels (let’s assume that they are the main hotels), will host all […]
The R1 company wants to hold a web search championship. There were n computers given for the competition, each of them is connected to the Internet. The […]
The employees of the R1 company often spend time together: they watch football, they go camping, they solve contests. So, it’s no big deal that […]
One of the most important products of the R1 company is a popular @r1.com mail service. The R1 mailboxes receive and send millions of emails […]
The hero of the Cut the Rope game is a little monster named Om Nom. He loves candies. And what a coincidence! He also is […]
Om Nom really likes candies and doesn’t like spiders as they frequently steal candies. One day Om Nom fancied a walk in a park. Unfortunately, […]
During the loading of the game “Dungeons and Candies” you are required to get descriptions of k levels from the server. Each description is a map of […]
Have you ever played Pudding Monsters? In this task, a simplified one-dimensional model of this game is used. Imagine an infinite checkered stripe, the cells […]