2016年10月12日

作业 P17 第一题

摘要: #include<stdio.h>#include<math.h>#include<stdlib.h>#include<time.h>int moshi;int count;void plus(int first,int second){int result; printf("%d + %d =", 阅读全文

posted @ 2016-10-12 19:50 盛晓亮 阅读(154) 评论(0) 推荐(0)

2016年9月24日

8皇后

摘要: #include <stdio.h>#include <math.h>#include <time.h>#define max 1000int sum=0;bool place (int k,int x[]){ for (int j=1;j<k;j++)if ((abs(k-j)==abs(x[j] 阅读全文

posted @ 2016-09-24 09:44 盛晓亮 阅读(105) 评论(0) 推荐(0)

导航