New Year Candles

2020 VietMX 0

Vasily the Programmer loves romance, so this year he decided to illuminate his room with candles. Vasily has a candles.When Vasily lights up a new candle, it […]

New Year Ratings Change

2020 VietMX 0

One very well-known internet resource site (let’s call it X) has come up with a New Year adventure. Specifically, they decided to give ratings to […]

New Year Present

2020 VietMX 0

The New Year is coming! That’s why many people today are busy preparing New Year presents. Vasily the Programmer is no exception. Vasily knows that […]

New Year Letter

2020 VietMX 0

Many countries have such a New Year or Christmas tradition as writing a letter to Santa including a wish list for presents. Vasya is an […]

New Year Tree Decorations

2020 VietMX 0

Due to atheistic Soviet past, Christmas wasn’t officially celebrated in Russia for most of the twentieth century. As a result, the Russian traditions for Christmas […]

New Year Permutation

2020 VietMX 0

User ainta has a permutation p 1, p 2, …, p n. As the New Year is coming, he wants to make his permutation as pretty as possible. Permutation a 1, a 2, …, a n is prettier than permutation b 1, b 2, …, b n, if and […]

New Year Transportation

2020 VietMX 0

New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in cells. However, it was […]

New Year Book Reading

2020 VietMX 0

New Year is coming, and Jaehyun decided to read many books during 2015, unlike this year. He has n books numbered by integers from 1 to n. The […]

New Year Santa Network

2020 VietMX 0

New Year is coming in Tree World! In this world, as the name implies, there are n cities connected by n - 1 roads, and for any two distinct cities there […]

New Year Domino

2020 VietMX 0

Celebrating the new year, many people post videos of falling dominoes; Here’s a list of them: https://www.youtube.com/results?search_query=New+Years+Dominos User ainta, who lives in a 2D world, is […]

New Year Shopping

2020 VietMX 0

Dohyun is running a grocery store. He sells n items numbered by integers from 1 to n. The i-th (1 ≤ i ≤ n) of them costs c i dollars, and if I buy it, my […]

New Year and Days

2020 VietMX 0

Today is Wednesday, the third day of the week. What’s more interesting is that tomorrow is the last day of the year 2015. Limak is […]

New Year and Domino

2020 VietMX 0

They say “years are like dominoes, tumbling one after the other“. But would a year fit into a grid? I don’t think so. Limak is […]

New Year and Forgotten Tree

2020 VietMX 0

A tree is a connected undirected graph with n - 1 edges, where n denotes the number of vertices. Vertices are numbered 1 through n. Limak is a little polar bear. His bear family prepares a […]

New Year and Cake

2020 VietMX 0

Limak is a little polar bear. According to some old traditions, his bear family prepared a New Year cake. And Limak likes cakes. As you […]

New Year Tree

2020 VietMX 0

The New Year holidays are over, but Resha doesn’t want to throw away the New Year tree. He invited his best friends Kerim and Gural […]