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