会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhaodonglin
Playing Programm
CnBlogs
Home
New Post
Contact
Admin
Subscription
2016年4月29日
Backtrack---N Queen
pos=[0]*5x=[0]*5 def place(t): for i in range(1,t): if (pos[i] == pos[t]): return False elif (abs(pos[i]-pos[t]) == abs(i-t)): return False return Tru
Read More
posted @ 2016-04-29 08:20 zhaodonglin
Views(153)
Comments(0)
Diggs(0)
公告