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