Unofficial editorial of the problem CHEFEXQ from december long challenge 2017 of codechef

Revision en1, by shahidul_brur, 2017-12-11 14:40:05

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.

Here the editorial link

You are welcome to comment below the post or here, if you find anything wrong or you have any further suggestion.

Tags codechef, chefexq, sqrt-decomposition, #data structure, tutorial

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English shahidul_brur 2017-12-11 14:40:05 612 Initial revision (published)