Back then in 2013 when I was participating in International Olympiad in Informatics (IOI), I was stumbled on the puzzles on their newsletters. Even until now, I'm pretty clueless for these.
Here are two of them. Could you help me to crack it?
Back then in 2013 when I was participating in International Olympiad in Informatics (IOI), I was stumbled on the puzzles on their newsletters. Even until now, I'm pretty clueless for these.
Here are two of them. Could you help me to crack it?
I think this can be solved without math knowledge:
("Empodia", 2004) is
the name of the 4th task of the 2004 IOI
so the solution is probably
the 4th task of some other IOI?
Edit:
I think the second solution could be
("Buses", 2008) - the "Buses" task of the 2008 IOI, since the task description matches the mathematical notation... I think. Here is the link to that year's tasks: IOI2008
The second answer is
("Pairs", 2007)
Because the math states:
Given the dimensionality of the board $a = B$, a max distance $b = D$, and a set of animals $C$, how many pairs of animals can hear each other (that is, what is the size of the set of pairs of animals such that their distance is at most $b $)?
To add my two cents to @Eutherpy's answer, in plain language it appears that
given an integer $k$ and an invertible (apparently on $\mathbb{Z}$) function that maps the large interval $[1,k]$ to itself, we're trying to find the biggest set of intervals where (a) no element appears in more than one interval in the set, and (b) when you apply the function $\pi$ to any element in any interval, the interval remains the same size but shifts up.
An example for k = 5 (not the correct solution) seems to be:
using the function $\pi(x) = x+1$, where if we assume $a<b$ as is common for intervals, we could have the set $\{ [1,2] , [3,4] \}$ be maximal. Facetiously, since there is no $a<b$ restrictiion, the maximal solution would be $\{[1,1] , [2,2], [3,3], [4,4] \}$...but I have no idea on how that relates to the framed intervals from the Empodia problem.