java.sql.ResultSet.next() Moves the cursor forward one row from its current position. A ResultSet cursor is initially positioned before the first row; ...
分类:
数据库 时间:
2019-03-13 18:11:35
阅读次数:
331
Difficulty: Easy Problem You are given an array of strings. Two strings and are special equivalent if after any number of moves , S == T. A move consi ...
分类:
其他好文 时间:
2019-02-19 23:36:11
阅读次数:
283
题目链接:http://poj.org/problem?id=2488 题目解读:首先得弄清楚国际象棋中关于“马走日”的规则,如上图中的马,它的下一步的走法有8中,所以对每一个位置的马,它所能走的8个方向坐标设置为 dir[8][2]= {{-1,-2},{1,-2},{-2,-1},{2,-1}, ...
分类:
其他好文 时间:
2019-01-26 21:02:31
阅读次数:
220
1 //八个方向的BFS裸题---AC! 2 //无需存图,注意结构体里未初始化的step值是如何改变的! 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 int n,m,sx,sy,ex,ey,cnt; 10 const ... ...
分类:
其他好文 时间:
2019-01-18 13:33:03
阅读次数:
195
准备工作 使用xftp将项目传到linux 将knight 传到linux上 将项目的数据导出 在windows的cmd中执行上面命令导出mysql所有数据库的数据 然后将alldb.dump用xftp传到opt目录下 导入数据: mysql uroot p ...
分类:
其他好文 时间:
2019-01-14 22:02:08
阅读次数:
202
发布CRM你将使用以下软件 nginx uWSGI CentOS7 CRM项目文件 virtualenv supervisor WSGI、uWSGI python web服务器开发使用WSGI协议(Web Server Gateway Interface) python web项目默认会生成一个ws ...
分类:
其他好文 时间:
2019-01-13 22:19:04
阅读次数:
258
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1372 题目描述: 在一个棋盘中,给你两个点的坐标,同时,你有八种走法,当然题目没明确说,但是这种棋盘就是这种规则。 求:从第一个点都第二个点的最少步数; 注意: 1.因为坐标是字母加数字的形式,注意下输 ...
分类:
其他好文 时间:
2019-01-09 11:26:39
阅读次数:
134
There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) after it ...
分类:
其他好文 时间:
2019-01-07 20:52:02
阅读次数:
192
Traditionally, a King and a Knight will fight in a war defending the land. A Queen and a girl will not participate in the war, thus the Queen and Girl ...
分类:
其他好文 时间:
2018-12-10 18:11:59
阅读次数:
159