December 2017 long challenge just finished. I used square root decomposition technique to solve the problem CHEFEXQ.
Here is the problem link
I just wrote the tutorial explaining how I have solved this problem. Hope it will be helpful to someone.
You are welcome to comment below the post or here, if you find anything wrong or you have any further suggestion.