Ghost0fSparta's blog

By Ghost0fSparta, 9 months ago, In English,

I have coded GSS1 using segment tree but it is giving WA on test case 9. Please help
Problem My Code
EDIT: The problem is solved. Just remove the "else" from "else if" in constructST function and get it AC :) I am keeping this code here for reference to somebody who is in need of it.

  • Vote: I like it  
  • -1
  • Vote: I do not like it  

9 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by michelledilbert1 (previous revision, new revision, compare).