python:实现余数定理算法 from __future__ import annotations # Extended Euclid def extended_euclid(a: int, b: int) -> tuple[int