Segment Tree (295A)

Revision en1, by _Aragorn_, 2018-06-28 10:17:04

Trying to solve 295A - Greg and Array using segment tree. Don't have any idea why I am getting WA on case 11.

Here is my code: 295A

Tags #segment tree, data structure, #tree, divide and conquer

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _Aragorn_ 2018-06-28 10:17:04 189 Initial revision (published)