Need Help with sqrt-decomposition technique

Revision en3, by rahulnagurtha, 2015-10-25 19:00:17

I have tried solving this http://www.codechef.com/problems/CHEFD/ problem using sqrt decomposition technique,but im getting AC for some cases and wrong answer for some cases......Can anyone discuss your idea using sqrt decomposition method for this problem,thanks......

Tags data structures, sqrt_decomposition

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English rahulnagurtha 2015-10-25 19:00:17 13 Tiny change: 'an anyone share me your idea' -> 'an anyone discuss your idea'
en2 English rahulnagurtha 2015-07-16 06:26:01 8
en1 English rahulnagurtha 2015-07-16 05:45:11 311 Initial revision (published)