2015年5月16日
摘要: 1 #include 2 int search(int s,int t); 3 void op(int k); 4 int res[1001]={1},n; 5 int main() 6 { 7 //scanf("%d",&n); 8 n=10; 9 search(n,1)... 阅读全文
posted @ 2015-05-16 21:15 Ricochet! 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int resl[1000]={0},used[1000]={0}; 3 int n,r; 4 int tot=0; 5 void output() 6 { 7 tot++; 8 printf(":",tot); 9 int i;10 ... 阅读全文
posted @ 2015-05-16 18:18 Ricochet! 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #define MAX 12 4 int used[21]={0},resl[21]={0},zs[50]={0};//used=已使用 resl=结果 zs=质数 5 int total=0; 6 void output() 7 { 8 ... 阅读全文
posted @ 2015-05-16 17:44 Ricochet! 阅读(147) 评论(0) 推荐(0) 编辑