Helga Hufflepuff’s Cup

2020 VietMX 18

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 […]

Nagini

2020 VietMX 0

Nagini, being a horcrux You-know-who created with the murder of Bertha Jorkins, has accumulated its army of snakes and is launching an attack on Hogwarts […]

Desk Disorder

2020 VietMX 1

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 […]

Save the problem

2020 VietMX 0

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 […]

Ordering Pizza

2020 VietMX 0

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, […]

Gotta Go Fast

2020 VietMX 0

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 […]

Egg Roulette

2020 VietMX 0

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 […]

Buy Low Sell High

2020 VietMX 0

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 […]

Pumping Stations

2020 VietMX 3

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 […]

Delivery Club

2020 VietMX 1

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 […]

Palisection

2020 VietMX 0

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 and a Nobody-men

2020 VietMX 2

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, […]

Tanya and Password

2020 VietMX 0

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 […]

One-Way Reform

2020 VietMX 0

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 […]

Party

2020 VietMX 0

Note the unusual memory limit for the problem. People working in MDCS (Microsoft Development Center Serbia) like partying. They usually go to night clubs on […]

Producing Snow

2020 VietMX 0

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 […]

Perfect Security

2020 VietMX 0

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 […]