Grand Prix of Ukraine
Very interesting contest.
But, how to solve task L, G and J?
Thanks in advance.
Codeforces Round 1123 Solution Discussion