Request for the solution.

I am looking for the editorial for the problem INFDIV. Or maybe if anyone knows how to solve this problem?

Cheers!

//