segmentTree day1