摘要: Input The input consists of multiple test cases. Each test case contains 3 integers A, B and n on a single line (1 using namespace std;int a[100000005];int main(){ int A,B,n; while(cin>>A>>B>>n &&(A!=0 && B!=0 && n!=0)) { A = A%7; B = B%7; a[0] = 1; a[1] = 1 阅读全文
posted @ 2013-08-05 20:32 平林新袖 阅读(265) 评论(0) 推荐(0)