MOZHSLS SPOJ Help Needed 
Difference between en1 and en2, changed 10 character(s)
I am trying to solve [this](https://www.spoj.com/problems/MOZESLS/) since a lot of time but getting wrong answer for larger value of N. Here is [Mmy Approach using Mo's algo ](https://ideone.com/Z7Wuea).
I have solved successfully [this](https://www.spoj.com/problems/MOZESLS/) problem which is exactly same problem but with small constraints.↵
I am not able to figure out what is wrong with this solution.↵
Any help would be appreciated !!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English kushwah_1 2018-07-01 18:17:45 57
en2 English kushwah_1 2018-07-01 09:13:33 10
en1 English kushwah_1 2018-07-01 09:11:58 458 Initial revision (published)