Given two integersnandk, return all possible
combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution
is:[ [2,4], [3,4], [2,3],...
分类:
其他好文 时间:
2014-05-14 03:54:40
阅读次数:
250
create table mytest(name varchar(20),password varchar(30));
create or replace procedure sp_pro2 is
begin
insert into mytest values('fc','123');
end;
查看错误信息
show error
如何调用...
分类:
数据库 时间:
2014-05-13 07:41:24
阅读次数:
464
atitit.eclipse 新特性总结3.1--4.3
Eclipse 3.1 1
Eclipse 3.2 Java开发工具的新特性 2
1. 内容辅助(Ctrl+Space)模板 2
2. 动态地重排它的建议 2
3. Quick Fix"的功能 2
Eclipse 3.3 M1 新特性一览 5
4. Browse all references 5
5. More Java ...
分类:
系统相关 时间:
2014-05-13 07:20:55
阅读次数:
560
[1] 启动ArcMap,加载各道路要素类,生成名为All-Roads的图层组,如他所示,符号级别绘制将对图层组内图层符号起作用;
图层组设置符号等级
[2] 在内容列表中,右键单击图层组All-Roads,选择属性;
[3] 打开图层组属性窗口,切换到组合页,如图 ;
工作组图层属性设置
[4] 单击符号级 进入符号级别设置窗...
分类:
其他好文 时间:
2014-05-13 07:14:44
阅读次数:
274
有时候用到Android模拟器来模拟SD卡相关操作,在Eclipse中可以直接查看SD卡目录;
首先,新建模拟器的时候要创建SD卡,存储的大小根据需要创建;
启动模拟器,在Eclipse中打开视图窗口:Window--Show View--File Explorer;
可以看到下面有mnt目录,mnt--sdcard 就是SD卡的目录,
也就是代码中 Environment...
分类:
移动开发 时间:
2014-05-12 22:38:13
阅读次数:
498
You are given a string, S, and a list of words,
L, that are all of the same length. Find all starting indices of substring(s) in
S that is a concatena...
分类:
其他好文 时间:
2014-05-12 22:27:04
阅读次数:
265
Spiral MatrixGiven a matrix ofmxnelements
(mrows,ncolumns), return all elements of the matrix in spiral order.For
example,Given the following matrix:[...
分类:
其他好文 时间:
2014-05-12 20:04:43
阅读次数:
268
题目描述Jim is boss of a big company . There are so
many workers in his company that it will take a long time for his command send
to all of his workers ....
分类:
其他好文 时间:
2014-05-12 04:51:29
阅读次数:
307
1、
??
Surrounded Regions
Given a 2D board containing 'X' and 'O',
capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's
in that surrounded region.
For e...
分类:
其他好文 时间:
2014-05-11 18:52:32
阅读次数:
293
1.给root账户授权所有sql权限
grant all privileges on *.* to root@"%" identified by ".";flush privileges;
2.建立bat批处理文件
@echo off
set path=%path%;D:\Program Files\MySQL\MySQL Server 5.5\bin
set y=%date:~0,4%
s...
分类:
数据库 时间:
2014-05-11 03:11:33
阅读次数:
406