总时间限制: 2000ms 内存限制: 65536kB描述John is going on a fishing trip. He has h hours available (1 = 0 ), is known. Each 5 minutes of fishing decreases the num...
分类:
其他好文 时间:
2014-07-30 20:10:54
阅读次数:
270
SYMPTOMS
在利用dbca创建数据库时,当设置完成所有参数,开始装时 跑到2% 就报错 ORA-01034 ORACLE not available,
如下图
CAUSE
There's a script in ORACLE_HOME/sqlplus/admin which is called glogin.sql. This script is autom...
分类:
数据库 时间:
2014-07-30 14:47:33
阅读次数:
505
今天在写一个修改语句的时候,竟然报了:SourcenotfoundforTsOrderErrorDaoImpl$$FastClassByCGLIB$$99fffb3.invoke(int,Object,Object[])line:notavailable这么一个错,上网查了资料,有的说是SQL语句的问题,但是我把语句放到数据库运行没问题,还有说tomcat的问题,这些都排..
分类:
其他好文 时间:
2014-07-30 12:31:04
阅读次数:
1091
对于多线程共享资源的情况需要进行同步,以避免一个线程的改动被另一个线程的改动所覆盖。最普遍的同步方式就是synchronized。把代码声明为synchronized,有两个重要后果,通常是指该代码具有 原子性(atomicity)和 可见性(visibility)。
1、原子性强调的是执行,意味着个时刻,只有一个线程能够执行一段代码,这段代码通过一个monitor object保护。从而防止多...
分类:
编程语言 时间:
2014-07-30 01:03:12
阅读次数:
311
{turn monitor off}SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 2); //关闭显示器{turn monitor on}SendMessage(Application.Handle, WM_SYSCO...
分类:
其他好文 时间:
2014-07-29 20:51:22
阅读次数:
274
Introduction This tutorial centers around various ways to prompt for user input with a default option available upon the user pressing Enter. By http:...
分类:
其他好文 时间:
2014-07-29 14:15:28
阅读次数:
266
问题描述:Servlet dwr-invoker is not available ? 问题详细: ? 严重: Allocate exception for servlet dwr-invoker java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory ?at org.dire...
分类:
其他好文 时间:
2014-07-28 16:56:44
阅读次数:
269
European and American breeds rare black color and distinct facial features, pale pinkish purple color of this long dress with matching holes for a fre...
分类:
其他好文 时间:
2014-07-28 14:56:43
阅读次数:
377
Available pacaagess里找了coreutils-nohup包,安装好就行了运行nohup自己的程序的时候可能会出现一下:root@OpenWrt:~# nohup: ignoring input and appending output to 'nohup.out'但是这个不影响运行...
分类:
其他好文 时间:
2014-07-28 14:33:03
阅读次数:
1472