B Ȉ¥nážõã@sVd dd„Zd dd„Zd dd„Zddd „Zy dd lTWnek rHYnXeZeZdS)éNcCsd|dkrtdƒ‚|dkr t|ƒ}x2||krR||d}|||krH|}q"|d}q"W| ||¡dS)Nrzlo must be non-negativeéé)Ú ValueErrorÚlenÚinsert)ÚaÚxÚloÚhiÚmid©r ú)/opt/alt/python37/lib/python3.7/bisect.pyÚ insort_rights     rcCsX|dkrtdƒ‚|dkr t|ƒ}x2||krR||d}|||krH|}q"|d}q"W|S)Nrzlo must be non-negativerr)rr)rrr r r r r r Ú bisect_rights     rcCsd|dkrtdƒ‚|dkr t|ƒ}x2||krR||d}|||krL|d}q"|}q"W| ||¡dS)Nrzlo must be non-negativerr)rrr)rrr r r r r r Ú insort_left+s    rcCsX|dkrtdƒ‚|dkr t|ƒ}x2||krR||d}|||krL|d}q"|}q"W|S)Nrzlo must be non-negativerr)rr)rrr r r r r r Ú bisect_left?s    r)Ú*)rN)rN)rN)rN)rrrrZ_bisectÚ ImportErrorZbisectZinsortr r r r Ús