






from __future__ import annotations


def        _a  (     UpperCamelCase_					:				int    ,   UpperCamelCase_					:				int   ) ->   list[list[int]]:
						"""simple docstring"""







						lowerCAmelCase__       =						[]
						create_all_state(1    ,   UpperCamelCase_    ,   UpperCamelCase_    ,   []    ,   UpperCamelCase_   )
						return result


def        _a  (     UpperCamelCase_					:				int    ,   UpperCamelCase_					:				int    ,   UpperCamelCase_					:				int    ,   UpperCamelCase_					:				list[int]    ,   UpperCamelCase_					:				list[list[int]]    ,   ) ->   None:
						"""simple docstring"""







						if level == 0:
												total_list.append(current_list[:]   )
												return

						for i in range(UpperCamelCase_    ,   total_number - level + 2   ):
												current_list.append(UpperCamelCase_   )
												create_all_state(i + 1    ,   UpperCamelCase_    ,   level - 1    ,   UpperCamelCase_    ,   UpperCamelCase_   )
												current_list.pop()


def        _a  (     UpperCamelCase_					:				list[list[int]]   ) ->   None:
						"""simple docstring"""







						for i in total_list:
												print(*UpperCamelCase_   )


if __name__ == "__main__":
	a_							=    4
	a_							=    2
	a_							=    generate_all_combinations(n, k)
	print_all_state(total_list)














# limitations under the License.

# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from .pipelines import DiffusionPipeline, ImagePipelineOutput  # noqa: F401
from .utils import deprecate


deprecate(
    '''pipelines_utils''',
    '''0.22.0''',
    '''Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.''',
    standard_warn=False,
    stacklevel=3,
)






