在前面加上这两行即可
from sys import set_int_max_str_digits set_int_max_str_digits(10010) # 将py的int最大处理值设置为10010位 即可避免RE (当然改成0也行 意为取消限制 就是跑得稍微慢点)
求壶关 谢谢大佬们!!!