摘要: 1 #include<stdio.h> 2 3 int main() 4 { 5 int a, b, n, i, c[49]; 6 7 while(scanf("%d%d%d", &a, &b, &n) != EOF) 8 { 9 if(a==0 && b==0 && n==0) break; 10 c[1] = 1; 11 c[2] = 1; 12 a = a%7;13 b = b%7;14 for (i=3; i<=49; i++)15 ... 阅读全文
posted @ 2011-09-14 16:47 zhongya 阅读(123) 评论(0) 推荐(0) 编辑