Problem details can be found at LOJ #2605. Submission for this problem is closed!
Using your Hydro universal account