This problem is in Contest(s) below:
Contest 144:2025暑期集训 —— 高精度计算
Contest 282:2026春夏算法(1)——高精度计算