For the problem details, see LOJ #6223. Submissions for this problem are currently closed.
Using your Hydro universal account