Algorithm Platinum III Divide and Conquer Segment Tree[Algorithm] C++/Python 백준 1605번 : Non-boring sequences