Your IP : 3.145.78.12
�
�Q�f_
� �h � ddd�d�Z ddd�d�Zddd�d�Zddd�d�Z d dl� eZe Zy# e$ r Y �w xY w) � N��keyc �x � |�t | |||� }nt | ||� |||�� }| j ||� y �Nr )�bisect_right�insert��a�x�lo�hir s �-/opt/alt/python312/lib64/python3.12/bisect.py�insort_rightr sA � �� �{�
�!�Q��B�
'��
�!�S��V�R���
5���H�H�R��O� c �� � |dk rt d� �|�t | � }|�%||k r||z dz }|| | k r|}n|dz }||k r�|S ||k r$||z dz }| || | � k r|}n|dz }||k r�$|S �Nr zlo must be non-negative� � ��
ValueError�len�r
r r r
r �mids r r r s� � �
�
�A�v��2�3�3� �z�
��V�� �{��2�g���7�q�.�C��1�S�6�z����1�W�� �2�g� �I�
�2�g���7�q�.�C��3�q��v�;�����1�W�� �2�g� �Ir c �x � |�t | |||� }nt | ||� |||�� }| j ||� y r )�bisect_leftr r s r �insort_leftr 9 sA � �� �{�
��A�r�2�
&��
��C��F�B���
4���H�H�R��Or c �� � |dk rt d� �|�t | � }|�%||k r||z dz }| | |k r|dz }n|}||k r�|S ||k r$||z dz } || | � |k r|dz }n|}||k r�$|S r r r s r r r J s� � �
�
�A�v��2�3�3� �z�
��V�� �{��2�g���7�q�.�C���v��z��1�W���� �2�g� �I�
�2�g���7�q�.�C��1�S�6�{�Q���1�W���� �2�g� �Ir )�*)r N)r r r r �_bisect�ImportError�bisect�insort� r r �<module>r$ sb �� ��T� �"!�T� !�H�D� �"!�D� !�J ��
�� ��� � �� �s �) �1�1