检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:曾艳丽[1]
出 处:《计算机光盘软件与应用》2010年第11期137-138,共2页Computer CD Software and Application
摘 要:八皇后问题是计算机科学中一个较经典的题目。本文提出用回溯法来解决八皇后问题,并给出了逻辑结构清晰、可读性强的递归算法,用C语言加以实现,得到了八皇后问题的12个真正不同的解。The eight-queens puzzle is a famous theme in computer science.This paper proposes backtracking method to solve the eight-queens puzzle,and also gives a recursive algorithm which has a very clear logical structure and high readability with the implement of C language,twelve different solutions of the eight-queens puzzle are obtained in the end.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.152