给你看一个,使用高精度出发来解决mod运算。。你可以先把数存到字符串里,作为参数计算。include "iostream.h"include "stdio.h"include "string.h"int mod1(char a1,int b){ int a[5000]= {0};int c[5000]= {0};int i,k,d;k = strlen(a1);for(i = 0;i < k;i++)a[i]= ...