
Strange Function
Let’s denote the following function $f$. This function takes an array $a$ of length $n$ and returns an array. Initially the result is an empty […]
Let’s denote the following function $f$. This function takes an array $a$ of length $n$ and returns an array. Initially the result is an empty […]
Let’s define the function $f$ of multiset $a$ as the multiset of number of occurences of every number, that is present in $a$. E.g., $f(\{5, […]