Query in a range qs to qe
def Query ( qs : int , qe : int , ns : int , ne : int , ind : int ) -> node : NEW_LINE INDENT if ( lazy [ ind ] != 0 ) : NEW_LINE INDENT seg [ ind ] = UpdateUtil ( seg [ ind ] ) NEW_LINE if ( ns != ne ) : NEW_LINE INDENT lazy [ ind * 2 ] ^= lazy [ ind ] NEW_LINE lazy [ ind * 2 + 1 ] ^= lazy [ ind ] NEW_LINE DEDENT lazy [ ind ] = 0 NEW_LINE DEDENT x = node ( ) NEW_LINE DEDENT