摘要: 暴力搜素应该会写吧,这个。。。。#include <string.h>#include <stdio.h>int rec[8][8];int s[8];int n;int min;int max;void Bscktrack(int cout);int main(){ int i,j; while (1) { scanf("%d",&n); if (n==-1) { break; } for (i=1;i<=n;i++) { for (j=1;j<=n;j++) { scanf("%d",&rec[i] 阅读全文
posted @ 2011-05-31 15:26 张兰云 阅读(290) 评论(0) 推荐(0) 编辑