
Nastya and Strange Generator
Denis was very sad after Nastya rejected him. So he decided to walk through the gateways to have some fun. And luck smiled at him! […]
Denis was very sad after Nastya rejected him. So he decided to walk through the gateways to have some fun. And luck smiled at him! […]
Denis came to Nastya and discovered that she was not happy to see him… There is only one chance that she can become happy. Denis […]
If the girl doesn’t go to Denis, then Denis will go to the girl. Using this rule, the young man left home, bought flowers and […]
Hilbert’s Hotel is a very unusual hotel since the number of rooms is infinite! In fact, there is exactly one room for every integer, including zero […]
A monopole magnet is a magnet that only has one pole, either north or south. They don’t actually exist since real magnets have two poles, […]
Logical quantifiers are very useful tools for expressing claims about a set. For this problem, let’s focus on the set of real numbers specifically. The set […]
Uh oh! Applications to tech companies are due soon, and you’ve been procrastinating by doing contests instead! (Let’s pretend for now that it is actually […]
Piet Mondrian is an artist most famous for his minimalist works, consisting only of the four colors red, yellow, blue, and white. Most people attribute […]
That’s right. I’m a Purdue student, and I shamelessly wrote a problem about trains. There are $n$ stations and $m$ trains. The stations are connected […]
For the multiset of positive integers $s=\{s_1,s_2,\dots,s_k\}$, define the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of $s$ as follow: $\gcd(s)$ is the […]
Please notice the unusual memory limit of this problem. Orac likes games. Recently he came up with the new game, “Game of Life”. You should […]
Slime has a sequence of positive integers $a_1, a_2, \ldots, a_n$. In one operation Orac can choose an arbitrary subsegment $[l \ldots r]$ of this […]
QUYỂN SỐ 1 QUYỂN SỐ 2 QUYỂN SỐ 3
Guide to Competitive Programming – Learning and Improving Algorithm through contests là một cuốn sách rất hay tổng hợp những vấn đề khó từ các […]
Giáo trình đề cập cả nội dung thuật toán cổ điển và cả hiện đại. Là một cuốn giáo trình tài liệu toán học cực […]
Nếu bạn là người đam mê tin học, nếu bạn là người muốn khám phá về lập trình, hẳn bạn phải biết đến một cuốn […]