2018年3月4日
摘要: #include<iostream>using namespace std; int a[8];int count=0; void solve(int k){ //得到一种解法,cnt++ if(k==8) //8个皇后都放置好了 { count ++; //输出当前8个皇后的一种放置情况 /* f 阅读全文
posted @ 2018-03-04 19:15 北海盗 阅读(152) 评论(0) 推荐(0) 编辑