GP of SPb
How to enter the contest?
The d1 link leads to ejudge.
Codeforces Round 946 Solution Discussion