For the problem details, see LOJ #2591. Note that submissions for this problem are currently closed.
Using your Hydro universal account