nyoj-205--求余数--(大整数取模)

2019-04-14 12:00发布

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=205 #include #include int main() { int n,l,i,sum; char s[1000000]; scanf("%d",&n); getchar(); while(n--) { gets(s); l=strlen(s); sum=0; for(i=0;i