
Salazar Slytherin’s Locket
Harry came to know from Dumbledore that Salazar Slytherin’s locket is a horcrux. This locket was present earlier at 12 Grimmauld Place, the home of […]
Harry came to know from Dumbledore that Salazar Slytherin’s locket is a horcrux. This locket was present earlier at 12 Grimmauld Place, the home of […]
Harry, Ron and Hermione have figured out that Helga Hufflepuff’s cup is a horcrux. Through her encounter with Bellatrix Lestrange, Hermione came to know that […]
Harry, upon inquiring Helena Ravenclaw’s ghost, came to know that she told Tom Riddle or You-know-who about Rowena Ravenclaw’s diadem and that he stole it […]
A new set of desks just arrived, and it’s about time! Things were getting quite cramped in the office. You’ve been put in charge of […]
Attention: we lost all the test cases for this problem, so instead of solving the problem, we need you to generate test cases. We’re going […]
It’s another Startup finals, and that means there is pizza to order for the onsite contestants. There are only 2 types of pizza (obviously not, […]
You’re trying to set the record on your favorite video game. The game consists of N levels, which must be completed sequentially in order to beat the […]
The game of Egg Roulette is played between two players. Initially 2R raw eggs and 2C cooked eggs are placed randomly into a carton. The shells are left on […]
You can perfectly predict the price of a certain stock for the next N days. You would like to profit on this knowledge, but only want to […]
Mad scientist Mike has applied for a job. His task is to manage a system of water pumping stations. The system consists of n pumping stations, which […]
Petya and Vasya got employed as couriers. During the working day they are to deliver packages to n different points on the line. According to the company’s […]
In an English class Nick had nothing to do at all, and remembered about wonderful strings called palindromes. We should remind you that a string is […]
Arkady words in a large company. There are n employees working in a system of a strict hierarchy. Namely, each employee, with an exception of the CEO, […]
It’s the turn of the year, so Bash wants to send presents to his friends. There are n cities in the Himalayan region and they are connected […]
While dad was at work, a little girl Tanya decided to play with dad’s password to his secret database. Dad’s password is a string consisting […]
There are n cities and m two-way roads in Berland, each road connects two cities. It is known that there is no more than one road connecting each pair […]
Alice likes snow a lot! Unfortunately, this year’s winter is already over, and she can’t expect to have any more of it. Bob has thus […]
Alice has a very important message M consisting of some non-negative integers that she wants to keep secret from Eve. Alice knows that the only theoretically secure […]