Spoj MULTQ3 using Segment tree

Revision en1, by lahm07, 2017-03-16 19:11:47

Hello everyone, I was trying to solve this problem using segment tree.My code is giving runtime(SIGSEGV) error.I tried my best but I think I need your help.Can anyone please explain me where I am going wrong. Thank You:)

Tags spoj, multq3, segment tree, solution spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English lahm07 2017-03-16 19:11:47 320 Initial revision (published)