题目链接:http://poj.org/problem?id=1222题意: 给你一个5 * 6的矩阵,由0和1组成。对于其中一个位置(i, j)进行操作的话,四周4个位置都会操作一次。(注:所谓的操作就是把状态0->1或者1->0)这个游戏一般人小时候都玩过吧。 最后问你是从一个当前状态转移到目标...
分类:
其他好文 时间:
2014-07-24 00:48:17
阅读次数:
278
03_wsdl和soap讲解(介入了tcpmon工具)WSDL内容: 1.types:用来定义访问的类型 2.message:SOAP(simple object access Protocol) 3.portType:指明服务器的接口,并且通过operation绑定相应的in和out的消息:...
分类:
其他好文 时间:
2014-07-23 22:29:47
阅读次数:
337
public static void main(String[] args) { List list = new ArrayList(); for (int i = 0; i < 8000; i++) { list.add(i); } System.out.println(list); int...
分类:
编程语言 时间:
2014-07-23 20:38:35
阅读次数:
1260
How to use Virstalbox to share files with Linux and Windows, and to move the mouse in and out Virtualbox freely without click Ctrl key, herewith what I have done to achieve both....
存储过程用于执行特定的操作,当建立存储过程时,既可以指定输入参数(in),也可以指 定输出参数(out),通过在过程中使用输入参数,可以将数据传递到执行部分;通过使用输出参数,可以将执行部分的数据传递到应用环境。在sqlplus 中可以使用create procedure命令来建立过程。实例如下:1...
分类:
数据库 时间:
2014-07-23 16:45:01
阅读次数:
221
由于linux 系统机制问题,文件的创建和写入并不会直接写入硬盘,而是先写入缓存,当系统要关闭或需要时才写入硬盘。为防止突然掉电,应将缓存中的文件及时同步到硬盘上去。linux 下的sync 命令具有数据同步功能,我们可以在Qt程序中调用该命令。
附:sync 命令说明
sync命令 linux同步数据命令
格式: sync
用途:更新 i-node 表,并将缓冲文件写...
分类:
系统相关 时间:
2014-07-23 16:37:11
阅读次数:
411
Problem Description
During summer vacation,Alice stay at home for a long time, with nothing to do. She went out and bought m pokers, tending to play poker. But she hated the traditional gameplay. S...
分类:
其他好文 时间:
2014-07-23 16:36:51
阅读次数:
304
Properties prop = System.getProperties(); //System.out.println(prop); //打印在控制台 prop.list(System.out); //如果要存入文件 prop.list(new PrintStream(“sysinfo.txt...
分类:
其他好文 时间:
2014-07-23 16:23:51
阅读次数:
150
OutputStream out = System.out; OutputStreamWriter osw = new OutputStreamWriter(out); BufferedWriter w = new BufferedWriter(osw); osw.write(line.toUppe...
分类:
其他好文 时间:
2014-07-23 15:05:46
阅读次数:
201
一.简介:该软件是由由领先的MySQL咨询公司Percona发布的Percona的很多软件我只能说是强!!!改公司开发的部分工具软件甚至已经超越oracle自身所开发的工具软件因此不用怀疑这个公司开发的软件会不会带来什么风险pt-table-checksum,pt-table-sync是percona-toolkit工具集的..
分类:
数据库 时间:
2014-07-23 13:46:27
阅读次数:
438