这里回溯算法还要好好研究一下试探一个位置是否有效,如果有效,试探下一个位置(DFS),如果无效则回退1.定义一个解空间,存放一个解的空间2.DFS(暂且认为是DFS)这里N皇后用的是递归+回溯实现的 1 package com.gxf.backtracking; 2 3 /** 4 * n皇后问.....
分类:
编程语言 时间:
2014-11-24 22:03:28
阅读次数:
204
Determine if a Sudoku is valid, according to:
Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially filled su...
分类:
其他好文 时间:
2014-11-24 10:09:21
阅读次数:
208
【Display file information in the document window】 The status bar is located at the bottom of every document window and displays useful information—su....
‘‘‘ Created on 2014年11月22日 @author : songjin ‘‘‘ from selenium import webdriver import time from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expect...
分类:
编程语言 时间:
2014-11-23 07:09:08
阅读次数:
300
sudo apt-get install 软件名 安装软件命令sudo nautilus 打开文件(有root权限)su root 切换到“root”ls 列出当前目录文件(不包括隐含文件)ls -a 列出当前目录文件(包括隐含文件)ls -l 列出当前目录下文件的详细信息cd .. 回当前目录的上...
分类:
系统相关 时间:
2014-11-22 23:02:20
阅读次数:
282
http://1.su.bdimg.com/skin_zoom/*.jpg符号:“*”为数字、可更换数字查看;比如:http://1.su.bdimg.com/skin_zoom/93.jpg 这个就是静夜紫的图片
分类:
其他好文 时间:
2014-11-22 22:55:05
阅读次数:
256
sudo apt-get install 软件名 安装软件命令sudo nautilus 打开文件(有root权限)su root 切换到“root”ls 列出当前目录文件(不包括隐含文件)ls -a 列出当前目录文件(包括隐含文件)ls -l 列出当前目录下文件的详细信息cd .. 回当前目录的上...
分类:
系统相关 时间:
2014-11-22 22:48:50
阅读次数:
217
android 4.4 版本后,su 权限严重被限制, 如无法直接访问data 区域,无法直接remount system image, 无法设置system property。
Google 不遗余力的提高android系统的安全性, 而针对su 这个即令人恨,又令人爱的命令,就痛下杀手。主要体现在三个方面:
1. 限制user 版本adbd process 的capabi...
分类:
移动开发 时间:
2014-11-22 12:08:48
阅读次数:
555
man: Manual 意思是手册,可以用这个命令查询其他命令的用法。
pwd:Print working directory 意思是密码。
su:Swith user 切换用户,切换到root用户
cd:Change directory 切换目录
ls:List files 列出目录下的文件
ps:Process Status 进程状态
mkdi...
分类:
系统相关 时间:
2014-11-21 23:21:26
阅读次数:
328
宋体: SimSun黑体: SimHei华文细黑: STHeiti Light [STXihei]华文黑体: STHeiti微软雅黑: Microsoft YaHei微软正黑体: Microsoft JhengHei新宋体: NSimSun新细明体: PMingLiU仿宋: FangSong楷体: ...
分类:
Web程序 时间:
2014-11-21 18:25:31
阅读次数:
150