Need hints in few Segment Tree problems.

Revision en2, by mohit_joshi, 2021-07-25 03:08:21

1.DQUERY I know , it can be done using Mo's algorithm , but I need some hints to solve this using segment tree only. I even tried but It gave WA. Mycode
2.ANDROUND — AND Rounds
3.NICEDAY I tried this but again it gave me WA. But I think , my approach was wrong. My code
Thanks a lot in advance.

Tags #segment tree, #general, #help, #need_hints

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mohit_joshi 2021-07-25 03:08:21 81
en1 English mohit_joshi 2021-07-24 19:38:31 600 Initial revision (published)