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